/* One approved bitmap mark, cropped by CSS from the existing 392x84 skin.
   No generated replacement: source rectangle x45/y23, 41x34. */
:root { --campaign-ad-mark-image: url('https://sgcdn.gxqlove.top/zhimajiangjun/static-20261103-9e2f00eadfcd/assets/home-dialog-art-v2/button-parchment.png'); }
.campaign-ad-mark,
#daily-reward-panel:not(.campaign-dialog--reference) #daily-reward-triple::before,
#home-screen ~ #stamina-panel.campaign-dialog--reference #stamina-video::before,
#league-hall-panel .league-button:is([data-action='stipend-ad'],[data-action='card-ad'])::before,
#app .reserve-ad-slot::after,
#app .speed-unlock-play {
  --ad-mark-size: 24px;
  box-sizing: border-box;
  width: var(--ad-mark-size) !important;
  height: calc(var(--ad-mark-size) * .829268293) !important;
  border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  background-image: var(--campaign-ad-mark-image) !important;
  background-repeat: no-repeat !important;
  background-size: calc(var(--ad-mark-size) * 9.56097561) calc(var(--ad-mark-size) * 2.04878049) !important;
  background-position: calc(var(--ad-mark-size) * -1.09756098) calc(var(--ad-mark-size) * -.56097561) !important;
  clip-path: inset(0 round calc(var(--ad-mark-size) * .13));
  font-size: 0 !important; line-height: 0 !important;
  pointer-events: none;
}
.campaign-ad-mark { display: inline-block; flex: none; vertical-align: middle; }
#daily-reward-panel:not(.campaign-dialog--reference) #daily-reward-triple::before,
#league-hall-panel .league-button:is([data-action='stipend-ad'],[data-action='card-ad'])::before {
  content: ''; display: inline-block !important;
  vertical-align: -.1em; margin: 0 8px 0 0;
}
#home-screen ~ #stamina-panel.campaign-dialog--reference #stamina-video::before {
  --ad-mark-size: clamp(24px, 8cqw, 36px);
  content: ''; display: block !important; position: absolute;
  left: 8%; top: 50%; transform: translateY(-50%); margin: 0;
}
#home-screen ~ #stamina-panel.campaign-dialog--reference #stamina-video {
  padding-left: 19% !important; padding-right: 4% !important;
  white-space: nowrap !important;
}
#league-hall-panel .league-button:is([data-action='stipend-ad'],[data-action='card-ad']) {
  white-space: nowrap; font-size: clamp(12px, 3.8vw, 16px) !important;
}
/* Existing full-button skins already contain the same video mark.
   Keep exactly one mark; share/normal-claim buttons remain unmarked. */
#result .reward-actions #double-reward::before,
#home-screen ~ #daily-reward-panel.campaign-dialog--reference #daily-reward-triple::before { content: none !important; display: none !important; }
/* Compact entry marks occupy an empty corner, never the pickaxe or +2 label. */
#app .reserve-ad-slot { position: relative; }
#app .reserve-ad-slot::after {
  --ad-mark-size: clamp(13px, 3.8vw, 18px);
  content: ''; display: block; position: absolute;
  top: 3px; left: 3px; z-index: 4;
}
#app .control-panel .speed-unlock-play {
  --ad-mark-size: 14px;
  top: 2px !important; right: 2px !important;
}
#app .control-panel .speed-unlock-play::after { content: none !important; display: none !important; }
@media (max-width: 360px) {
  #league-hall-panel .league-button:is([data-action='stipend-ad'],[data-action='card-ad'])::before { --ad-mark-size: 20px; margin-right: 6px; }
  #app .control-panel .speed-unlock-play { --ad-mark-size: 12px; }
}
