/* 提供を終了したサービスの紹介ページ（/TopicUp/・/novus/・/YUMELIA/・/kinema/）に重ねる共通部品。
   - .dc-bar     … 画面下に固定する「提供終了」の帯。JS が無くても出る（開いたときのダイアログは出さない）
   - .dc-disabled … ストアやサービスへのボタン。href を外したうえで、見た目でも押せないことを示す
   各 LP の CSS は em や独自の font-size を使っているので、ここは px で固定し、継承に頼らない。 */

.dc-bar, .dc-bar * { box-sizing: border-box; }

.dc-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 2147483000;
  display: flex; align-items: center; justify-content: center; gap: 12px 20px; flex-wrap: wrap;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: #1f1b1c; color: #fff;
  border-top: 3px solid #FFD702;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px; line-height: 1.6; letter-spacing: 0; text-align: left;
  word-break: keep-all; overflow-wrap: anywhere; line-break: strict;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.18);
}
.dc-bar__text { margin: 0; max-width: 760px; color: #fff; font-size: 14px; }
.dc-bar__text strong { color: #FFD702; font-weight: 700; }
.dc-bar__link {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px;
  border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff !important; text-decoration: none !important; font-size: 14px; font-weight: 700; white-space: nowrap;
}
.dc-bar__link:hover, .dc-bar__link:focus-visible { background: #fff; color: #1f1b1c !important; }
/* スマホでは帯が画面の 2 割近くを覆うので、文字とボタンを詰める */
@media (max-width: 520px) {
  .dc-bar { gap: 6px 12px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); justify-content: flex-start; }
  .dc-bar__text { font-size: 13px; line-height: 1.55; }
  .dc-bar__link { min-height: 36px; padding: 0 14px; font-size: 13px; }
}
/* 帯の高さぶん本文の最後を押し上げる。高さは discontinued.js が実測して上書きする */
.dc-spacer { height: 120px; }


/* ストアへのボタン: href を外してあるので押しても何も起きない。グレーにして「配信終了」の札を重ねる */
.dc-disabled {
  position: relative !important; cursor: not-allowed !important;
  filter: grayscale(1) !important; pointer-events: none;
  transform: none !important; box-shadow: none !important;
}
.dc-disabled::before {
  content: "" !important; position: absolute !important; inset: 0 !important; z-index: 1;
  background: rgba(150, 150, 150, 0.6) !important; border-radius: inherit;
  opacity: 1 !important; transform: none !important; animation: none !important;
}
.dc-disabled::after {
  content: "配信終了" !important; position: absolute !important; z-index: 2;
  top: 50% !important; left: 50% !important; right: auto !important; bottom: auto !important;
  transform: translate(-50%, -50%) !important; width: auto !important; height: auto !important;
  padding: 3px 12px !important; border-radius: 999px; background: #231F20 !important; color: #fff !important;
  font-size: 12px !important; font-weight: 700; line-height: 1.5 !important; letter-spacing: 0.04em; white-space: nowrap;
  opacity: 1 !important; animation: none !important;
}
/* QR コードは読み取られないようにぼかす（読み取り先のストアのページはもう無い） */
.dc-disabled img, .dc-disabled svg, .dc-disabled canvas { filter: blur(3px); }
