/* Khớp giao diện Giáng Sinh với trang thật. Nạp ngay SAU christmas.css và gỡ cùng lúc với nó.
   Để riêng file này để thay christmas.css bằng bản thiết kế mới mà không mất phần vá. */

/* Quản trị không chừa chỗ cho dây đèn: nó đè lên tên trang, tiêu đề và thanh của khung Nhập Pokémon. */
body:has(#admin:not([hidden])) main::before { content: none; }

/* Admin có 3 ô số liệu (khách có 2): xếp nửa hàng thì chữ tràn vào dải ruy băng. */
@media (min-width: 1101px) {
  .public-pool:has(> .pool-stats > :nth-child(3)) > :is(.pool-stats, .pool-rates) { grid-column: 1 / -1; }
}

/* Chữ gợi ý đậm và sáng như chữ đã nhập: dễ tưởng ô địa chỉ, email, mã đơn đã điền. */
input::placeholder, textarea::placeholder { color: #a9bbb1; font-weight: 400; }

/* Đã đăng nhập thì ví và tài khoản chiếm thêm chỗ: "Nạp QR" bị đẩy khỏi màn 1440px. */
@media (min-width: 1421px) and (max-width: 1560px) {
  body:has(#logoutBtn:not([hidden])) .topnav { order: 3; flex: 1 1 100%; width: 100%; }
}

/* "Giảm chuyển động": luật tắt của theme yếu hơn luật :has() bật hoạt cảnh nên vẫn chạy. */
.slow-mode #summon :is(.summon-bg, .summon-aura, .energy-ring) { animation: none !important; }

/* Điện thoại: bóng mờ trên từng thẻ làm cuộn danh sách chậm hẳn. */
@media (hover: none), (max-width: 900px) {
  .pool-card::before, .result-tile::before, .collection-item::before, .pool-card img { filter: none; }
}

/* Trang quay bố cục 30/11 (shop-banner.css): màu thông, tuyết đọng trên khung/thẻ banner và nơ như bản thiết kế. */
#shop {
  --shop-panel: linear-gradient(180deg, rgba(16, 40, 36, .74), rgba(9, 24, 24, .74));
  --shop-line: rgba(243, 212, 140, .18);
  --shop-ink: #fff7e6;
  --shop-muted: #b8c3bb;
  --shop-dim: #8a9a93;
  --shop-gold: #f3d48c;
  --shop-cta-fade: rgba(6, 16, 15, .94);
}
#shop .shop-panel::before,
#shop .banner-choice::before,
#shop .banner-choice.active::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 9px;
  border-radius: 16px 16px 0 0;
  background: url("/assets/season/christmas/snowcap.svg") 0 0 / 80px 9px repeat-x;
  pointer-events: none;
}
#shop .banner-choice::before, #shop .banner-choice.active::before { width: auto; height: 7px; border-radius: 0; background-size: 64px 7px; }
#shop .banner-choice .banner-thumb::after { content: none; }
#shop .shop-panel::after {
  content: "";
  position: absolute;
  top: -20px;
  right: 18px;
  width: 52px;
  height: 43px;
  background: url("/assets/season/christmas/bow.svg") center / contain no-repeat;
  filter: drop-shadow(0 4px 6px rgba(0, 0, 0, .45));
  pointer-events: none;
}
/* Cây thông cao vừa sân khấu, gốc cây ngay sau hàng thẻ. */
#shop .card-scene .card-halo { inset: 0 -6% 3%; }
