@font-face {
  font-family: "YB News";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-news.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "YB Search";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-search.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "YB Forum";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-forum.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "YB Ruten";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-ruten.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "YB Search Brand";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-search-brand.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}
@font-face {
  font-family: "YB Ruten Brand";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/fonts/yb-ruten-brand.woff") format("woff");
  font-weight: 900;
  font-display: swap;
}

.yb-entry-sticker {
  --yb-display-font: "YB News";
  --yb-ink: #04090b;
  --yb-text-x: 56.755%;
  --yb-text-width: 53%;
  --yb-text-center: 58.091%;
  --yb-title-size: 12.079cqw;
  --yb-title-angle: -2.1deg;
  position: relative;
  display: block;
  box-sizing: border-box;
  min-width: 0;
  width: 100%;
  aspect-ratio: 3 / 1;
  container-type: inline-size;
  color: var(--yb-ink);
  text-decoration: none;
  isolation: isolate;
}

.yb-entry-sticker > .yb-entry-sticker__art {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: fill;
  pointer-events: none;
}

.yb-entry-sticker--search {
  --yb-display-font: "YB Search";
  --yb-ink: #012a2c;
  --yb-text-x: 66.184%;
  --yb-text-width: 55.6%;
  --yb-text-center: 49.75%;
  --yb-title-size: 13.052cqw;
  --yb-title-angle: -6.1deg;
  --yb-brand-font: "YB Search Brand";
  --yb-brand-x: 76.293%;
  --yb-brand-center: 75.627%;
  --yb-brand-size: 5.877cqw;
  --yb-brand-angle: -4.35deg;
}

.yb-entry-sticker--forum {
  --yb-display-font: "YB Forum";
  --yb-ink: #fcfcf7;
  --yb-text-x: 63.178%;
  --yb-text-width: 62.9%;
  --yb-text-center: 56.027%;
  --yb-title-size: 14.302cqw;
  --yb-title-angle: -3.45deg;
}

.yb-entry-sticker--ruten {
  --yb-display-font: "YB Ruten";
  --yb-ink: #e84101;
  --yb-text-x: 63.942%;
  --yb-text-width: 62.3%;
  --yb-text-center: 52.431%;
  --yb-title-size: 14.555cqw;
  --yb-title-angle: -3.7deg;
  --yb-brand-font: "YB Ruten Brand";
  --yb-brand-x: 67.86%;
  --yb-brand-center: 81.911%;
  --yb-brand-size: 3.649cqw;
  --yb-brand-angle: -4.4deg;
}

.yb-entry-sticker > .yb-entry-sticker__label,
.yb-entry-sticker > .yb-entry-sticker__brand {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  text-align: center;
  user-select: text;
  white-space: normal;
  word-break: normal;
  text-transform: none;
}

.yb-entry-sticker > .yb-entry-sticker__label {
  left: var(--yb-text-x);
  width: var(--yb-text-width);
  top: var(--yb-text-center);
  transform: translate(-50%, -50%) rotate(var(--yb-title-angle));
  font: 900 var(--yb-title-size)/1 var(--yb-display-font), "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: var(--yb-ink);
  letter-spacing: 0;
}

.yb-entry-sticker__text {
  display: block;
  flex: 0 1 auto;
  max-width: 100%;
  text-wrap: balance;
}
.yb-entry-sticker:is(:lang(zh), :lang(yue)) .yb-entry-sticker__text {
  white-space: nowrap;
  max-width: none;
}
.yb-entry-sticker:lang(zh-Hans) > .yb-entry-sticker__label {
  font-size: calc(var(--yb-title-size) * 0.89);
}

.yb-entry-sticker--forum > .yb-entry-sticker__label {
  -webkit-text-stroke: 0.085em #330c59;
  paint-order: stroke fill;
  text-shadow: 0.035em 0 #330c59, 0.031em 0.03em #330c59, 0 0.035em #330c59,
    0.055em 0.055em #fa89b0, 0.055em 0.075em #fa89b0, 0.074em 0.089em #330c59;
}

.yb-entry-sticker > .yb-entry-sticker__brand {
  top: var(--yb-brand-center);
  left: var(--yb-brand-x);
  width: max-content;
  transform: translate(-50%, -50%) rotate(var(--yb-brand-angle));
  font: 900 var(--yb-brand-size)/1 var(--yb-brand-font), Arial, sans-serif;
  letter-spacing: 0;
  color: #fdf9e1;
}

.yb-entry-sticker:lang(en) > .yb-entry-sticker__label,
.yb-entry-sticker:lang(ms) > .yb-entry-sticker__label {
  font-family: "Arial Black", Arial, "Helvetica Neue", sans-serif;
  font-size: 6.4cqw;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.yb-entry-sticker--forum:is(:lang(en), :lang(ms)) > .yb-entry-sticker__label {
  font-size: 8.5cqw;
  -webkit-text-stroke-width: 0.12em;
}
.yb-entry-sticker--forum:lang(ms) > .yb-entry-sticker__label {
  font-size: 5.8cqw;
}
.yb-entry-sticker--search:is(:lang(en), :lang(ms)) > .yb-entry-sticker__label {
  font-size: 7.1cqw;
}

.yb-entry-sticker--ruten:is(:lang(en), :lang(ms)) > .yb-entry-sticker__label {
  font-size: 5.8cqw;
}

.yb-entry-sticker:lang(ja) > .yb-entry-sticker__label {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 7cqw;
  line-height: 0.98;
}
.yb-entry-sticker--news:lang(ja) > .yb-entry-sticker__label { font-size: 5.55cqw }
.yb-entry-sticker--search:lang(ja) > .yb-entry-sticker__label { font-size: 10.4cqw }
.yb-entry-sticker--ruten:lang(ja) > .yb-entry-sticker__label { font-size: 5.4cqw }

.yb-entry-sticker:focus-visible {
  outline: 3px solid #ffd960;
  outline-offset: 3px;
}

@media (forced-colors: active) {
  .yb-entry-sticker > .yb-entry-sticker__label,
  .yb-entry-sticker > .yb-entry-sticker__brand {
    background: Canvas;
    color: LinkText;
    -webkit-text-stroke: 0;
    text-shadow: none;
  }
}

/* More specific than the theme's clipped, filled navigation rows. */
:is(#easystore-section-header, .yb-world-turn-source-header)
  :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  max-height: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
  overflow: visible;
  transform: none;
}
:is(#easystore-section-header, .yb-world-turn-source-header)
  :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker::before,
:is(#easystore-section-header, .yb-world-turn-source-header)
  :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker::after {
  content: none;
}
:is(#easystore-section-header, .yb-world-turn-source-header)
  :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker:focus-visible {
  outline: 2px solid #ffdd61;
  outline-offset: 2px;
}
@media (hover: hover) {
  :is(#easystore-section-header, .yb-world-turn-source-header)
    :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker:hover {
    background: transparent;
    box-shadow: none;
    filter: brightness(1.07);
    transform: translateY(-2px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  :is(#easystore-section-header, .yb-world-turn-source-header)
    :is(.yuyi-drill__items > li > a, #menu-drawer a.menu-drawer__menu-item).yb-entry-sticker:active {
    transform: scale(.985);
  }
}

/* Three horizontal slices. Caps keep their original aspect ratio at the
   displayed height; the empty paper between them absorbs the extra width. */
.yb-entry-sticker--pointcool > .yb-resource-artboard,
.yb-entry-sticker--app > .yb-resource-artboard {
  position: absolute;
  display: block;
  inset: 0;
  width: 100%;
  height: 100%;
  container-type: inline-size;
}

.yb-entry-sticker--pointcool > .yb-resource-artboard {
  --yb-resource-plate: image-set(url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/pointcool-360.webp") 1x, url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/pointcool-720.webp") 2x, url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/pointcool-1080.webp") 3x);
  --yb-resource-slices: 0 8.5% 0 35.5% fill;
  /* 1080:449 art in a 3:1 cell: cap widths × 1080 / 449 / 3 */
  --yb-resource-caps: 0 6.81514% 0 28.46325%;
}

.yb-entry-sticker--app > .yb-resource-artboard {
  --yb-resource-plate: image-set(url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/app-360.webp") 1x, url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/app-720.webp") 2x, url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/official-menu-93c5de37445d2232/images/app-1080.webp") 3x);
  --yb-resource-slices: 0 53.5% 0 35.5% fill;
  /* 1944:809 art. Both the Google Play triangle and its ribbon type are in the right cap. */
  --yb-resource-caps: 0 42.8529% 0 28.4351%;
}

.yb-resource-artboard::before {
  content: "";
  display: block;
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  border: 0 solid transparent;

  border-image-slice: var(--yb-resource-slices);
  border-image-width: var(--yb-resource-caps);
  border-image-repeat: stretch;
  pointer-events: none;
}

details[open] > .header__submenu .yuyi-drill__level.is-active .yb-resource-artboard::before,
details[open] > .menu-drawer__submenu > .menu-drawer__inner-submenu > .menu-drawer__menu > li > .yb-entry-sticker > .yb-resource-artboard::before {
  border-image-source: var(--yb-resource-plate);
}

a.yb-entry-sticker--pointcool > .yb-resource-artboard > .yb-pointcool-word {
  left: 62%;
  top: 51%;
  font-size: 11.1cqw;
}

/* Both desktop and drawer labels sit on the same angled strip of paper. */
a.yb-entry-sticker--app > .yb-resource-artboard > .yb-menu-app-title {
  left: 55.5%;
  top: 50.7%;
  display: inline-flex;
  flex-flow: row nowrap;
  align-items: baseline;
  column-gap: .18em;
  width: max-content;
  max-width: none;
  font-size: 7.6cqi;
  line-height: 1;
  white-space: nowrap !important;
  overflow-wrap: normal;
  transform: translate(-50%, -50%) rotate(-9deg);
}

a.yb-entry-sticker--app .yb-menu-app-title > span {
  flex: none;
  width: auto;
  max-width: none;
  white-space: nowrap;
  overflow-wrap: normal;
}

a.yb-entry-sticker--app > .yb-resource-artboard > .yb-menu-app-title:lang(en) {
  font-size: 5.7cqi;
}

a.yb-entry-sticker--app > .yb-resource-artboard > .yb-menu-app-title:lang(ms) {
  font-size: 5.4cqi;
}

a.yb-entry-sticker--app > .yb-resource-artboard > .yb-menu-app-title:lang(ja) {
  font-size: 5.3cqi;
}

@font-face {
  font-family: "Yuyi PointCool";
  src: url("/wp-content/themes/yuyibuy-game/source-migration/source/assets/yb-entry-stickers-20261128/pointcool-word-6403c6695fdbe490618c/pointcool.woff") format("woff");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  unicode-range: U+0043, U+0050, U+0069, U+006C, U+006E-006F, U+0074;
}

.yb-entry-sticker--pointcool > .yb-resource-artboard > .yb-pointcool-word {
  position: absolute;
  left: 63.712%;
  top: 50.612%;
  display: inline-block;
  width: max-content;
  margin: 0;
  padding: 0;
  color: #085eae;
  font-family: "Yuyi PointCool", "Arial Black", Arial, sans-serif;
  font-size: 12.0058cqw;
  font-style: normal;
  font-weight: 400;
  font-synthesis: none;
  font-feature-settings: "liga" 1;
  font-variant-ligatures: common-ligatures;
  letter-spacing: normal;
  line-height: 1;
  white-space: nowrap;
  text-transform: none;
  text-shadow: none;
  transform: translate(-50%, -50%) rotate(-8deg);
  transform-origin: center;
  /* The storefront's shared menu rule disables selection with !important. */
  -webkit-user-select: text !important;
  user-select: text !important;
}

/* Replace the theme's hover underline on nested spans with one stroke per title. */
:is(#easystore-section-header, .yb-world-turn-source-header) a.yb-entry-sticker,
:is(#easystore-section-header, .yb-world-turn-source-header) a.yb-entry-sticker span {
  text-decoration: none;
}

.yb-entry-sticker__label > .yb-entry-sticker__text {
  position: relative;
}

.yb-entry-sticker--forum {
  --yb-underline-color: #552478;
  --yb-underline-edge: #ea8fb6;
}
.yb-entry-sticker--pointcool {
  --yb-underline-color: #07529b;
  --yb-underline-edge: #63c1ed;
}
.yb-entry-sticker--app {
  --yb-underline-color: #18385b;
  --yb-underline-edge: #6aabe3;
}

.yb-entry-sticker :is(.yb-entry-sticker__label > .yb-entry-sticker__text, .yb-pointcool-word, .yb-menu-app-title)::after {
  content: "";
  position: absolute;
  pointer-events: none;
  left: 0;
  top: calc(100% + .022em);
  width: 100%;
  height: clamp(5px, .205em, 11px);
  background: linear-gradient(to bottom, var(--yb-underline-edge, var(--yb-ink)) 0% 23%, var(--yb-underline-color, var(--yb-ink)) 35% 100%);
  clip-path: polygon(0 44%, 18% 37%, 48% 25%, 78% 11%, 97% 0, 100% 7%, 99% 91%, 96.5% 100%, 78% 89%, 48% 75%, 18% 63%, 0 56%);
  transform: scale(0, .08);
  transform-origin: left center;
}

@media (hover: hover) and (pointer: fine) {
  .yb-entry-sticker:hover :is(.yb-entry-sticker__label > .yb-entry-sticker__text, .yb-pointcool-word, .yb-menu-app-title)::after {
    transform: scale(1);
    transition: transform 460ms cubic-bezier(.30,.06,.38,1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .yb-entry-sticker:hover :is(.yb-entry-sticker__label > .yb-entry-sticker__text, .yb-pointcool-word, .yb-menu-app-title)::after {
    transition: none;
  }
}
