/* A complete editorial card: below the activity, or in a genuinely free left gutter. */
@font-face { font-family: 'Announcement Lilita'; src: url('/assets/fonts/draft/lilita-one-latin-400-normal.woff2?v=3b71f6c2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
.cps-announcement-slot {
  inline-size: var(--announce-flow-width, min(860px, calc(100% - 32px)));
  max-inline-size: 100%;
  margin: 24px auto 32px;
  clear: both;
}
.cps-announcement-slot.is-gutter { inline-size: 0; block-size: 0; margin: 0; }
#cps-announce {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: 22px;
  overflow: hidden;
  border: 1px solid #a65b93;
  border-radius: 18px;
  background: radial-gradient(ellipse at 100% 0, #a33b7c 0, transparent 63%), linear-gradient(135deg, #573060, #2c1b38 75%);
  box-shadow: inset 0 1px 0 #ffcede30, 0 5px 0 #160e20;
  color: #fff3d8;
  font: 400 .9rem/1.5 var(--font-body, 'Outfit'), system-ui, sans-serif;
  text-align: start;
  box-sizing: border-box;
}
#cps-announce * { box-sizing: border-box; }
#cps-announce.is-gutter {
  position: absolute;
  left: var(--announce-x, 0px);
  top: var(--announce-y, 0px);
  inline-size: 248px;
}
.cps-announce__heading { display: flex; flex-direction: row-reverse; align-items: center; gap: 20px; margin-block-end: 16px; }
#cps-announce .cps-announce__title { flex: 1; margin: 0; color: #fff3d8; font: 750 clamp(1.3rem, 3vw, 1.65rem)/1.15 var(--font-body, 'Outfit'), system-ui, sans-serif; letter-spacing: -.025em; text-wrap: balance; }
.cps-announce__art { position: relative; flex: none; inline-size: 80px; block-size: 66px; direction: ltr; }
.cps-announce__art::before, .cps-announce__art::after, .cps-announce__art span { content: ''; position: absolute; inset: 7px 10px; border: 2px solid #241629; border-radius: 7px; box-shadow: 0 2px 0 #241629; }
.cps-announce__art::before { background: #68d6e9; transform: translate(-9px, 1px) rotate(-15deg); }
.cps-announce__art::after { background: #f08dbb; transform: translate(9px, -2px) rotate(13deg); }
.cps-announce__art span { display: grid; place-items: center; z-index: 1; background: linear-gradient(145deg, #fff3d8, #f2c56a); color: #2b1d33; font: 400 25px/1 'Announcement Lilita', system-ui, sans-serif; transform: rotate(-4deg); }
#cps-announce .cps-announce__body { margin: 0 0 18px; color: #f2ddec; font-size: .9rem; line-height: 1.6; text-wrap: pretty; }
.cps-announce__cta {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  min-block-size: 48px; padding: 12px 14px;
  border: 1px solid #ffe5a9; border-radius: 10px;
  background: linear-gradient(110deg, #ffda8a, #f2bc58); color: #2b1d33;
  box-shadow: 0 3px 0 #1c1127;
  font-size: .9rem; font-weight: 750; line-height: 1.3; text-decoration: none;
  touch-action: manipulation;
}
/* Manga Yugen's mark and amber palette share the same announcement card. */
#cps-announce.cps-announce--manga {
  border-color: #b36c4c;
  background: radial-gradient(ellipse at 100% 0, #8d4427 0, transparent 68%), linear-gradient(135deg, #542d3d, #291c32 78%);
}
.cps-announce__partner-logo { flex: none; inline-size: 56px; block-size: 56px; object-fit: contain; }
.cps-announce__cta > svg { flex: none; }
[dir="rtl"] .cps-announce__cta > svg { transform: scaleX(-1); }
.cps-announce__cta:focus-visible { outline: 3px solid #68d6e9; outline-offset: 4px; }
@media (hover: hover) and (pointer: fine) { .cps-announce__cta:hover { background: #ffe5a9; color: #211629; } }
.cps-announce__cta:active { box-shadow: none; transform: translateY(2px); }
#cps-announce.is-gutter .cps-announce__heading { flex-direction: column; align-items: flex-start; gap: 14px; }
#cps-announce.is-gutter .cps-announce__title { font-size: 1.55rem; }
@media (max-width: 359px) {
  #cps-announce { padding: 18px; border-radius: 14px; }
  .cps-announce__heading { gap: 10px; }
  .cps-announce__art { inline-size: 68px; }
  .cps-announce__art span { font-size: 22px; }
}
/* Immersive games and embedded play keep ownership of their screen. */
html.play-open .cps-announcement-slot, html.dp-live .cps-announcement-slot,
html[data-embed] .cps-announcement-slot, body[data-game-active] .cps-announcement-slot { display: none; }
