/* ===================== DOGS MONO — dark minimalist (supersedes AURORA) ===================== */
:root,
body.dark {
  --ink: #fafafa;
  --muted: #7c7c84;
  --accent: #ffffff;
  --accent-2: #e3e3e6;
  --accent-3: #bfbfc6;
  --accent-soft: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.04);
  --glass2: rgba(255, 255, 255, 0.025);
  --line: rgba(255, 255, 255, 0.07);
  --soft: #161618;
  --bg: #08080a;
  --grad: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
body,
body.dark {
  background: #08080a;
  letter-spacing: -0.02em;
  background-attachment: fixed;
}
.bgwrap,
body.dark .bgwrap,
.bgwrap .blob,
body.dark .bgwrap .blob,
.bgwrap .paw,
body.dark .bgwrap .paw {
  display: none !important;
  background: none;
}
/* flat solid cards — no blur, no glass */
.glass {
  background: #101012 !important;
  border: 1px solid var(--line) !important;
  border-radius: 18px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.glass-soft {
  background: #0e0e10 !important;
  border: 1px solid var(--line) !important;
  border-radius: 15px;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.title {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.section-h {
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-transform: uppercase;
}
/* iconic white pill button, black label */
.catch-btn {
  background: #fff;
  color: #08080a;
  border-radius: 16px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: none;
  animation: none;
  position: relative;
  overflow: hidden;
}
.catch-btn i {
  color: #08080a;
}
.catch-btn:active {
  transform: scale(0.97);
}
.catch-btn:disabled {
  opacity: 0.3;
  box-shadow: none;
}
.catch-btn::after {
  display: none;
}
.mini {
  background: #fff;
  color: #08080a;
  font-weight: 700;
  border-radius: 11px;
  box-shadow: none;
}
.mini.on {
  background: #fff;
  color: #08080a;
  box-shadow: none;
}
.mini.danger {
  background: #27272b;
  color: #ff6b6b;
  box-shadow: none;
}
.mini.empty {
  background: #161618;
  color: var(--muted);
  box-shadow: none;
}
.icon-btn,
.icon-btn-sm,
.back-btn {
  background: #141416;
  border: 1px solid var(--line);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  color: var(--ink);
}
/* white progress bars */
.home-xp-fill,
.xp-fill,
.pxpbar-fill,
.q-fill,
.rfill,
.ebar-fill {
  background: #fff;
}
.lh-num {
  background: #fff;
  color: #08080a;
}
/* mono avatars */
.home-ava,
.avatar,
.lb-ava {
  background: #1c1c20;
  color: #fff;
  border: 1px solid var(--line);
}
.home-ava i,
.avatar i,
.lb-ava i {
  color: #fff;
}
.cat-frame {
  border-radius: 20px;
  border: 1px solid var(--line);
  box-shadow: none;
  background: #101012;
}
/* flat dark tab pill, icon-only */
.tabbar {
  background: #0d0d0f;
  border: 1px solid var(--line);
  border-radius: 20px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.6);
  padding: 9px 4px;
}
.tabbar-bg {
  display: none;
}
.tab span {
  display: block;
  font-size: 10px;
  font-weight: 600;
}
.tab i {
  width: 21px;
  height: 21px;
}
.tab {
  gap: 3px;
  transition:
    color 0.2s,
    transform 0.15s;
}
.tab.active {
  color: #fff;
}
.tab.active i {
  transform: scale(1.08);
}
.tab:not(.active) {
  color: #56565d;
}
/* compact home header with chips */
.home-stats {
  gap: 7px;
}
.hstat {
  background: #141416;
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: 11px;
  font-size: 13px;
  font-weight: 800;
}
.hstat i {
  color: #fff;
  width: 15px;
  height: 15px;
}
.energy-timer {
  font-size: 11px;
  color: var(--muted);
  opacity: 0.75;
  height: 14px;
  margin-bottom: 8px;
}
.stat b {
  font-size: 19px;
}
/* rarity — flat but distinguishable */
.t-common {
  background: #3a3a40;
}
.t-rare {
  background: #3f6fd0;
}
.t-epic {
  background: #8a52e0;
}
.t-legendary {
  background: #e0a23d;
}
.t-superleg {
  background: linear-gradient(
    120deg,
    #ff5b6b,
    #ffb13d,
    #37e08a,
    #36d6ff,
    #9d6bff,
    #ff5db1
  );
  background-size: 300% 300%;
  animation: slslide 5s linear infinite;
}
/* full owned cats collection */
.coll-counts {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin: 8px 0 12px;
}
.coll-count {
  padding: 9px 5px;
  border-radius: 14px;
  text-align: center;
  background: var(--soft);
  border: 1px solid var(--line);
}
.coll-count b {
  display: block;
  font-size: 15px;
}
.coll-count span {
  display: block;
  font-size: 10px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding-bottom: 18px;
}
.owned-cat {
  position: relative;
  min-height: 138px;
  border-radius: 17px;
  overflow: hidden;
  background: var(--card, #101012);
  border: 1px solid var(--line);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.14);
  animation: rise 0.35s ease both;
}
.owned-cat img {
  width: 100%;
  height: 112px;
  object-fit: cover;
  display: block;
  background: var(--soft);
}
.owned-cat .oc-tier {
  position: absolute;
  top: 7px;
  left: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 1px 2px #000;
  background: #777;
}
.owned-cat .oc-num {
  position: absolute;
  right: 7px;
  top: 7px;
  padding: 4px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
}
.owned-cat .oc-date {
  font-size: 10px;
  color: var(--muted);
  padding: 7px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.owned-cat.legendary {
  border-color: #ffb02e;
  box-shadow: 0 0 16px rgba(255, 176, 46, 0.25);
}
.owned-cat.epic {
  border-color: #c46bff;
  box-shadow: 0 0 16px rgba(196, 107, 255, 0.2);
}
.owned-cat.superrare {
  border-color: #55e1ff;
}
.oc-tier.legendary {
  background: #ff9f1c;
}
.oc-tier.epic {
  background: #9b5cff;
}
.oc-tier.superrare {
  background: #00a9c7;
}
.oc-tier.rare {
  background: #3578ff;
}
.oc-tier.common {
  background: #777;
}
/* compact profile */
.pcard {
  display: flex;
  gap: 13px;
  align-items: center;
  padding: 14px;
  margin-bottom: 10px;
}
.pcard .avatar {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  font-size: 20px;
}
.pcard-main {
  flex: 1;
  min-width: 0;
}
.pcard-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.pcard .pname {
  margin: 0;
}
.streak-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #ffae5c;
  background: rgba(255, 174, 92, 0.12);
  padding: 3px 9px;
  border-radius: 9px;
  flex: none;
}
.streak-chip i,
.streak-chip svg {
  width: 13px;
  height: 13px;
  color: #ffae5c;
  stroke: #ffae5c;
}
.plvl-line {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 5px;
}
.badges {
  margin: 2px 0 10px;
}
.badges:empty {
  display: none;
}
[data-info] {
  cursor: pointer;
}
.section-h[data-info] {
  display: flex;
  align-items: center;
}
.section-h[data-info]::after {
  content: "ⓘ";
  font-size: 11px;
  margin-left: 6px;
  opacity: 0.4;
  font-weight: 400;
}
.info-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 26px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: fadein 0.2s ease;
}
.info-modal[hidden] {
  display: none;
}
@keyframes fadein {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.info-card {
  max-width: 320px;
  width: 100%;
  padding: 24px 22px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  border-radius: 20px;
  box-shadow: none;
}
.info-emoji {
  font-size: 38px;
  line-height: 1;
}
.info-title {
  font-size: 18px;
  font-weight: 800;
}
.info-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.45;
}
.info-close {
  margin-top: 8px;
  width: 100%;
  padding: 13px;
}
