/* «Угощения» (0.62 n62 F, club-treats.js): the hall's little menu on a tapped pet («Погладить» / «Угостить»), the shop
   card (the treats as options, whose favourite, the stage where one's pet tastes one, one or a bag of five), the tile,
   the profile line. The painted treats are public/treats/<id>.webp. Nothing moves here but the pets. */
.tt-img { display: block; width: 28px; height: 28px; object-fit: contain; pointer-events: none; user-select: none; }

/* The hall: the menu on a tapped pet */
.tt-menu { position: fixed; z-index: 60; min-width: 210px; max-width: min(280px, calc(100vw - 16px)); padding: 8px; border-radius: 14px;
  background: rgba(24, 20, 34, .97); border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 12px 32px rgba(0, 0, 0, .5); color: var(--text, #f3ece0); font-size: 14px; }
.tt-m-row { display: flex; gap: 6px; }
.tt-m-act { flex: 1; min-height: 44px; padding: 6px 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .06); color: inherit; font: inherit; font-weight: 600; cursor: pointer; }
.tt-m-x { width: 44px; min-height: 44px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: transparent; color: inherit; font-size: 22px; line-height: 1; cursor: pointer; }
.tt-m-head { margin: 10px 4px 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted, #b9ad9c); }
.tt-m-list { display: grid; gap: 4px; }
.tt-m-treat { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 10px; border-radius: 10px; border: 1px solid transparent; background: rgba(255, 255, 255, .04); color: inherit; font: inherit; text-align: left; cursor: pointer; }
.tt-m-treat .tt-img { width: 32px; height: 32px; flex: none; }
.tt-m-treat:hover, .tt-m-treat:focus-visible, .tt-m-act:hover, .tt-m-x:hover { background: rgba(255, 255, 255, .1); }
.tt-m-fav { border-color: rgba(255, 120, 150, .5); background: rgba(255, 110, 140, .1); }
.tt-m-name { flex: 1; }
.tt-m-love { font-style: normal; font-size: 12px; font-weight: 700; color: #ff9db3; }
.tt-m-n { font-variant-numeric: tabular-nums; color: var(--muted, #b9ad9c); }

/* «Магазин клуба»: the card */
.club-item.tt-item .club-item-ico { display: inline-flex; width: 26px; height: 26px; }
.club-item.tt-item .club-item-ico .tt-img { width: 26px; height: 26px; }
.shop-opts.tt-opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; margin: 10px 0; }
.tt-opts .shop-opt { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-height: 84px; padding: 8px 6px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(255, 255, 255, .03); color: var(--text); font: inherit; font-size: 13px; cursor: pointer; }
.tt-opts .shop-opt:hover { background: rgba(255, 255, 255, .07); }
.tt-opts .shop-opt.on { border-color: var(--accent); background: rgba(240, 170, 55, .1); box-shadow: inset 0 0 0 1px var(--accent); }
.tt-opts .shop-opt-a { display: flex; align-items: center; justify-content: center; min-height: 36px; }
.tt-opts .shop-opt-a { flex-direction: column; gap: 2px; }
.tt-opts .shop-opt-a .tt-img { width: 36px; height: 36px; }
.tt-opt-p { font-size: 12px; font-weight: 700; color: var(--accent, #e5a00d); white-space: nowrap; }
.tt-opts .shop-opt-k { margin-top: -2px; font-size: 10px; font-weight: 700; padding: 1px 6px; border-radius: 8px; background: rgba(255, 255, 255, .1); color: var(--muted); }
.tt-opts .shop-opt-k.now { background: rgba(72, 214, 140, .18); color: #6fe3a5; }
.tt-about { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 4px 0 8px; font-size: 13px; color: var(--muted); }
.tt-fav-line { display: inline-flex; align-items: center; gap: 6px; color: #ffb3c4; font-weight: 600; }
.tt-fav-line .tt-img { width: 22px; height: 22px; }
.tt-have { color: #6fe3a5; font-weight: 600; }
.tt-stage { position: relative; display: flex; align-items: flex-end; justify-content: center; height: 170px; margin: 10px 0; padding-bottom: 14px; border-radius: 14px;
  background: radial-gradient(90% 60% at 50% 100%, rgba(255, 130, 160, .14), transparent 70%), rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.tt-pet { position: relative; display: block; width: 64px; height: 64px; }
.tt-show { position: absolute; right: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 130, 160, .6); background: rgba(255, 130, 160, .14); color: inherit; font: inherit; cursor: pointer; }
.tt-show .tt-img { width: 22px; height: 22px; }
.tt-buy { display: flex; flex-wrap: wrap; gap: 8px; }
.tt-buy .club-buy { flex: 1 1 150px; }

/* The tile */
.tt-tile { position: relative; display: inline-flex; align-items: flex-end; gap: 2px; }
.tt-tile-food { display: inline-flex; width: 30px; height: 30px; margin-left: -8px; }
.tt-tile-food .tt-img { width: 30px; height: 30px; }

/* The profile */
.tt-pp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 8px 0; font-size: 14px; }
.tt-pp .tt-img { width: 22px; height: 22px; }
.tt-pp-glow { padding: 2px 8px; border-radius: 999px; background: rgba(255, 210, 90, .16); color: #ffd86b; font-size: 12px; font-weight: 700; }
