/* A personal patterned backdrop on the shared Liquid Glass material. */
.ikki-theme-option[data-value="favorite-pet"] .ikki-theme-swatch {
  background-image: var(--ikki-favorite-image, none), linear-gradient(135deg, #c9d8ea, #e3d7e8);
  background-size: contain, 100% 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
}
.ikki-theme-option[data-value="favorite-pet"] .ikki-theme-swatch::before,
.ikki-theme-option[data-value="favorite-pet"] .ikki-theme-swatch::after { content: none; }
html[data-design-theme="favorite-pet"] body {
  --ikki-page-background: var(--ikki-favorite-body, var(--ikki-glass-body));
}
#ikkiFavoriteBackdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  contain: paint;
  pointer-events: none;
  user-select: none;
}
#ikkiFavoriteBackdrop[hidden] { display: none !important; }
#ikkiFavoriteBackdrop .ikki-favorite-pattern { position: absolute; inset: 0; opacity: .18; pointer-events: none; }
#ikkiFavoriteBackdrop .ikki-favorite-sprite {
  position: absolute;
  object-fit: contain;
  transform: translate(-50%, -50%);
  image-rendering: auto;
  pointer-events: none;
}
html:is([data-theme="dark"], [data-ikki-fixed-dark]) #ikkiFavoriteBackdrop .ikki-favorite-pattern { opacity: .15; }
#ikkiFavoriteNotice {
  position: fixed;
  right: 16px;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  max-width: min(360px, calc(100vw - 32px));
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--ikki-glass-popover, var(--card-solid));
  color: var(--text);
  box-shadow: var(--shadow-md);
  font: inherit;
  font-size: 12px;
  line-height: 1.7;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#ikkiFavoriteNotice[hidden] { display: none !important; }
#ikkiFavoriteNotice a { display: inline-block; margin-left: 7px; color: var(--primary-dark); font-weight: 700; }
#ikkiHome .ih-pet-first:disabled { color: var(--ih-muted); opacity: .5; cursor: not-allowed; }
@media (max-width: 600px) {
  #ikkiFavoriteNotice { right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); max-width: calc(100vw - 24px); }
}
@media (forced-colors: active) {
  #ikkiFavoriteBackdrop { display: none !important; }
  #ikkiFavoriteNotice { background: Canvas; color: CanvasText; border-color: CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  #ikkiFavoriteBackdrop .ikki-favorite-pattern { display: none; }
}
