/* Trang trí ngày lễ (Giáng sinh + ngày lễ Việt Nam) — PLAN-dot-31-AE */

/* ===== Màu pha cho từng chủ đề (chỉ dùng trong lớp [data-season]) ===== */
html[data-season="tet"]       { --season-tint: #f59e0b; --hat-rot: 0deg; }
html[data-season="newyear"]   { --season-tint: #eab308; --hat-rot: 0deg; }
html[data-season="xmas"]      { --season-tint: #dc2626; --hat-rot: -15deg; }
html[data-season="phunu83"]   { --season-tint: #e26d8a; --hat-rot: 0deg; }
html[data-season="thongnhat"] { --season-tint: #da251d; --hat-rot: 0deg; }
html[data-season="thieunhi"]  { --season-tint: #3b82f6; --hat-rot: 0deg; }
html[data-season="quockhanh"] { --season-tint: #da251d; --hat-rot: 0deg; }
html[data-season="khaigiang"] { --season-tint: #2563eb; --hat-rot: 0deg; }
html[data-season="trungthu"]  { --season-tint: #ea580c; --hat-rot: 0deg; }
html[data-season="phunu2010"] { --season-tint: #e26d8a; --hat-rot: 0deg; }
html[data-season="nhagiao"]   { --season-tint: #e11d48; --hat-rot: 0deg; }

/* ===== 1. Hình nhỏ trên logo (.sb-brand .logo-icon & .login-logo) ===== */
html[data-season] .sb-brand .logo-icon,
html[data-season] .login-logo {
  position: relative;
}
html[data-season] .sb-brand .logo-icon::after,
html[data-season] .login-logo::after {
  content: "";
  position: absolute;
  top: -20%;
  right: -20%;
  width: 55%;
  height: 55%;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: rotate(var(--hat-rot, 0deg));
  transform-origin: center center;
}

/* Mũ Noel nghiêng ~-15deg */
html[data-season="xmas"] .sb-brand .logo-icon::after,
html[data-season="xmas"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M6 22 C8 11 16 5 24 8 C20 12 22 17 25 22 Z' fill='%23d93a3a'/%3E%3Crect x='4' y='20' width='22' height='5' rx='2.5' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='1'/%3E%3Ccircle cx='25' cy='8' r='3' fill='%23ffffff' stroke='%23e5e7eb' stroke-width='1'/%3E%3C/svg%3E");
}

/* Cành mai vàng */
html[data-season="tet"] .sb-brand .logo-icon::after,
html[data-season="tet"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M4 26 Q15 16 26 8' stroke='%2378350f' stroke-width='2.4' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='19' r='4.2' fill='%23f5b301'/%3E%3Ccircle cx='12' cy='19' r='1.3' fill='%23b45309'/%3E%3Ccircle cx='22' cy='11' r='4.5' fill='%23f5b301'/%3E%3Ccircle cx='22' cy='11' r='1.4' fill='%23b45309'/%3E%3Ccircle cx='23' cy='21' r='3.5' fill='%23f5b301'/%3E%3Ccircle cx='23' cy='21' r='1.1' fill='%23b45309'/%3E%3C/svg%3E");
}

/* Pháo hoa nhỏ */
html[data-season="newyear"] .sb-brand .logo-icon::after,
html[data-season="newyear"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cg stroke-linecap='round' stroke-width='2.4'%3E%3Cline x1='16' y1='16' x2='16' y2='4' stroke='%23f5b301'/%3E%3Cline x1='16' y1='16' x2='25' y2='7' stroke='%23d93a3a'/%3E%3Cline x1='16' y1='16' x2='28' y2='16' stroke='%23f5b301'/%3E%3Cline x1='16' y1='16' x2='25' y2='25' stroke='%23d93a3a'/%3E%3Cline x1='16' y1='16' x2='16' y2='28' stroke='%23f5b301'/%3E%3Cline x1='16' y1='16' x2='7' y2='25' stroke='%23d93a3a'/%3E%3Cline x1='16' y1='16' x2='4' y2='16' stroke='%23f5b301'/%3E%3Cline x1='16' y1='16' x2='7' y2='7' stroke='%23d93a3a'/%3E%3C/g%3E%3Ccircle cx='16' cy='16' r='3.2' fill='%23fde047'/%3E%3C/svg%3E");
}

/* Bông hoa (8/3 và 20/10) */
html[data-season="phunu83"] .sb-brand .logo-icon::after,
html[data-season="phunu83"] .login-logo::after,
html[data-season="phunu2010"] .sb-brand .logo-icon::after,
html[data-season="phunu2010"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M16 17 L16 29' stroke='%232f8f4e' stroke-width='2.6' stroke-linecap='round'/%3E%3Cpath d='M16 24 Q23 22 24 17 Q19 18 16 24 Z' fill='%232f8f4e'/%3E%3Ccircle cx='16' cy='11' r='6' fill='%23e26d8a'/%3E%3Ccircle cx='11.5' cy='12.5' r='4.2' fill='%23f43f5e'/%3E%3Ccircle cx='20.5' cy='12.5' r='4.2' fill='%23f43f5e'/%3E%3Ccircle cx='16' cy='12' r='2.6' fill='%23fde047'/%3E%3C/svg%3E");
}

/* Lá cờ đỏ sao vàng tỉ lệ 2:3 (30/4–1/5 & 2/9) — không xoay/lật */
html[data-season="thongnhat"] .sb-brand .logo-icon::after,
html[data-season="thongnhat"] .login-logo::after,
html[data-season="quockhanh"] .sb-brand .logo-icon::after,
html[data-season="quockhanh"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 24'%3E%3Crect x='1' y='2' width='30' height='20' rx='2' fill='%23da251d' stroke='%23b91c1c' stroke-width='1'/%3E%3Cpolygon points='16,6 17.5,10.5 22.2,10.5 18.4,13.3 19.8,17.8 16,15 12.2,17.8 13.6,13.3 9.8,10.5 14.5,10.5' fill='%23ffff00'/%3E%3C/svg%3E");
}

/* Bóng bay (1/6) */
html[data-season="thieunhi"] .sb-brand .logo-icon::after,
html[data-season="thieunhi"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M12 20 Q13 26 15 30 M21 22 Q19 26 17 30' stroke='%2364748b' stroke-width='1.5' fill='none'/%3E%3Cellipse cx='12' cy='12' rx='7' ry='9' fill='%23d93a3a'/%3E%3Cellipse cx='21' cy='14' rx='6.5' ry='8.5' fill='%23f5b301'/%3E%3Ccircle cx='10' cy='8.5' r='1.5' fill='%23ffffff' fill-opacity='.6'/%3E%3C/svg%3E");
}

/* Cặp sách (Khai giảng) */
html[data-season="khaigiang"] .sb-brand .logo-icon::after,
html[data-season="khaigiang"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M12 9 C12 4 20 4 20 9' stroke='%231e40af' stroke-width='2.4' fill='none'/%3E%3Crect x='6' y='9' width='20' height='19' rx='4' fill='%232563eb'/%3E%3Cpath d='M6 15 Q16 19 26 15 V12 Q16 15 6 12 Z' fill='%231d4ed8'/%3E%3Crect x='14' y='16' width='4' height='4' rx='1' fill='%23f5b301'/%3E%3C/svg%3E");
}

/* Đèn ông sao (Trung thu) */
html[data-season="trungthu"] .sb-brand .logo-icon::after,
html[data-season="trungthu"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Ccircle cx='16' cy='16' r='12' fill='%23d93a3a' stroke='%23b45309' stroke-width='1.5'/%3E%3Cpolygon points='16,6 18.6,12.8 25.8,13 20.1,17.3 22.1,24.2 16,20.2 9.9,24.2 11.9,17.3 6.2,13 13.4,12.8' fill='%23fde047'/%3E%3C/svg%3E");
}

/* Bó hoa + quyển sách (20/11) */
html[data-season="nhagiao"] .sb-brand .logo-icon::after,
html[data-season="nhagiao"] .login-logo::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M5 20 Q11 18 16 20 Q21 18 27 20 V28 Q21 26 16 28 Q11 26 5 28 Z' fill='%23ffffff' stroke='%234f46e5' stroke-width='1.6'/%3E%3Cpath d='M16 18 V10' stroke='%232f8f4e' stroke-width='2' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='8' r='4' fill='%23d93a3a'/%3E%3Ccircle cx='11.5' cy='11' r='3' fill='%23f5b301'/%3E%3Ccircle cx='20.5' cy='11' r='3' fill='%23e26d8a'/%3E%3C/svg%3E");
}

/* Lắc nhẹ khi rê chuột (không áp cho cờ đỏ sao vàng) */
@keyframes seasonLogoWobble {
  0%, 100% { transform: rotate(var(--hat-rot, 0deg)); }
  25% { transform: rotate(calc(var(--hat-rot, 0deg) - 10deg)); }
  70% { transform: rotate(calc(var(--hat-rot, 0deg) + 8deg)); }
}
html[data-season]:not([data-season="thongnhat"]):not([data-season="quockhanh"]) .sb-brand:hover .logo-icon::after,
html[data-season]:not([data-season="thongnhat"]):not([data-season="quockhanh"]) .login-logo:hover::after {
  animation: seasonLogoWobble 360ms ease-in-out;
}

/* Biểu tượng ngày lễ trên logo thanh bên: to hơn, có bóng, đung đưa nhẹ, viền sáng màu chủ đề — 5/12 */
html[data-season] .sb-brand .logo-icon {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--season-tint) 28%, transparent), 0 4px 14px color-mix(in srgb, var(--season-tint) 35%, transparent);
}
html[data-season] .sb-brand .logo-icon::after {
  top: -46%;
  right: -46%;
  width: 82%;
  height: 82%;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .22));
  animation: seasonLogoSway 4.5s ease-in-out infinite;
  z-index: 1;
}
html[data-season="thongnhat"] .sb-brand .logo-icon::after,
html[data-season="quockhanh"] .sb-brand .logo-icon::after {
  top: -34%; right: -48%; width: 70%; height: 70%;
  animation: none;
}
@keyframes seasonLogoSway {
  0%, 70%, 100% { transform: rotate(var(--hat-rot, 0deg)); }
  78% { transform: rotate(calc(var(--hat-rot, 0deg) - 9deg)); }
  88% { transform: rotate(calc(var(--hat-rot, 0deg) + 6deg)); }
}
html[data-season="xmas"] .sb-brand::after,
html[data-season="tet"] .sb-brand::after,
html[data-season="quockhanh"] .sb-brand::after,
html[data-season="thongnhat"] .sb-brand::after {
  height: 9px;
  background-size: auto 9px;
}
@media (prefers-reduced-motion: reduce) {
  html[data-season] .sb-brand .logo-icon::after { animation: none; }
}

/* ===== 6. Dải trang trí đầu thanh bên (tuỳ chọn, ẩn khi thu gọn) ===== */
html[data-season="xmas"] .sb-brand,
html[data-season="tet"] .sb-brand,
html[data-season="quockhanh"] .sb-brand,
html[data-season="thongnhat"] .sb-brand {
  position: relative;
}
html[data-season="xmas"] .sb-brand::after,
html[data-season="tet"] .sb-brand::after,
html[data-season="quockhanh"] .sb-brand::after,
html[data-season="thongnhat"] .sb-brand::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  pointer-events: none;
  background-repeat: repeat-x;
  background-position: left center;
}
html[data-season="xmas"] .sb-brand::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='6' viewBox='0 0 48 6'%3E%3Cpath d='M0 2 Q12 5 24 2 T48 2' fill='none' stroke='%232f8f4e' stroke-width='1.1'/%3E%3Ccircle cx='8' cy='3.2' r='2' fill='%23d93a3a'/%3E%3Ccircle cx='24' cy='2.2' r='2' fill='%23f5b301'/%3E%3Ccircle cx='40' cy='3.2' r='2' fill='%232f8f4e'/%3E%3C/svg%3E");
}
html[data-season="tet"] .sb-brand::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='6' viewBox='0 0 32 6'%3E%3Crect width='32' height='6' fill='%23d93a3a' fill-opacity='.85'/%3E%3Ccircle cx='8' cy='3' r='1.6' fill='%23f5b301'/%3E%3Ccircle cx='24' cy='3' r='1.6' fill='%23f5b301'/%3E%3C/svg%3E");
}
html[data-season="quockhanh"] .sb-brand::after,
html[data-season="thongnhat"] .sb-brand::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='6' viewBox='0 0 36 6'%3E%3Crect width='36' height='6' fill='%23da251d' fill-opacity='.85'/%3E%3Cpolygon points='18,0.8 18.7,2.5 20.5,2.5 19,3.5 19.6,5.2 18,4.2 16.4,5.2 17,3.5 15.5,2.5 17.3,2.5' fill='%23ffff00'/%3E%3C/svg%3E");
}
html.sb-collapsed .sb-brand::after { display: none; }

/* ===== 2. Hạt rơi (chỉ màn đăng nhập và trang Hôm nay) ===== */
.season-fx {
  display: none;
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: calc(var(--z-sticky, 40) + 10);
}
body:has(#login-view:not([hidden])) .season-fx,
body:has(#v-today:not([hidden])) .season-fx {
  display: block;
}

.season-fx .sf-p {
  position: absolute;
  top: -20px;
  left: var(--x, 50vw);
  opacity: 0;
  will-change: transform, opacity;
  animation: seasonFall var(--d, 12s) linear var(--delay, 0s) infinite;
}
@keyframes seasonFall {
  0%   { transform: translate3d(0, -10px, 0) rotate(var(--r, 0deg)); opacity: 0; }
  10%  { opacity: var(--o, .8); }
  90%  { opacity: var(--o, .8); }
  100% { transform: translate3d(var(--sway, 16px), calc(100vh / var(--uiz, 1) + 40px), 0) rotate(calc(var(--r, 0deg) + 220deg)); opacity: 0; }
}

.season-fx .sf-snow {
  width: calc(8px * var(--s, 1));
  height: calc(8px * var(--s, 1));
  border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 22%, var(--surface));
}
html[data-theme="dark"] .season-fx .sf-snow {
  background: rgba(255, 255, 255, .55);
}

.season-fx .sf-flower {
  width: calc(14px * var(--s, 1));
  height: calc(14px * var(--s, 1));
}
.season-fx .sf-flower svg {
  display: block;
  width: 100%;
  height: 100%;
}
.season-fx .sf-mai {
  color: color-mix(in srgb, #f5b301 70%, var(--surface));
}
.season-fx .sf-mai svg ellipse { fill: currentColor; }
.season-fx .sf-mai svg .sf-core { fill: #b45309; }

.season-fx .sf-petal {
  color: color-mix(in srgb, #e26d8a 60%, var(--surface));
}
.season-fx .sf-petal svg ellipse { fill: currentColor; }
.season-fx .sf-petal svg .sf-core { fill: #facc15; }

.season-fx .sf-glitter {
  width: calc(7px * var(--s, 1));
  height: calc(11px * var(--s, 1));
  border-radius: 2px;
  background: color-mix(in srgb, #f5b301 75%, var(--surface));
}
.season-fx .sf-confetti {
  width: calc(7px * var(--s, 1));
  height: calc(11px * var(--s, 1));
  border-radius: 2px;
  background: color-mix(in srgb, var(--c, #3b82f6) 75%, var(--surface));
}

/* Đèn ông sao Trung thu (không có hạt rơi, góc trên phải trang Hôm nay) */
.season-lanterns {
  display: none;
  position: fixed;
  top: 0;
  right: 176px;
  gap: 8px;
  pointer-events: none;
  z-index: calc(var(--z-sticky, 40) + 1);
}
body:has(#v-today:not([hidden])) .season-lanterns {
  display: flex;
}
.season-lanterns .sl-item {
  display: block;
  filter: drop-shadow(0 2px 5px rgba(234, 88, 12, .25));
  animation: seasonLanternPulse 4s ease-in-out infinite;
}
.season-lanterns .sl-2 { margin-top: 8px; animation-delay: 1.3s; }
.season-lanterns .sl-3 { animation-delay: 2.6s; }
@keyframes seasonLanternPulse {
  0%, 100% { opacity: .8; }
  50%      { opacity: 1; }
}
@media (max-width: 1023px) {
  .season-lanterns { top: 64px; right: 12px; }
}

/* ===== 3b. Chủ đề gắn vào đầu trang Hôm nay (cố định, thay thẻ chào rời) — 5/12 ===== */
.td-head.is-season {
  position: relative;
  align-items: center;
  padding: 14px 18px;
  border-radius: var(--r-lg);
  background:
    radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--season-tint) 16%, transparent), transparent 60%),
    color-mix(in srgb, var(--season-tint) 7%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--season-tint) 26%, var(--border));
  box-shadow: var(--shadow-sm);
}
.td-head.is-season .td-head-main { align-items: center; gap: 14px; }
.td-greet-ico.td-season-art {
  width: 64px; height: 56px;
  background: transparent;
  border-radius: 0;
}
.td-season-art .season-head-art svg {
  width: 64px; height: 56px; display: block;
  fill: initial; stroke: initial;
  animation: seasonArtFloat 3.6s ease-in-out infinite;
}
html[data-season="thongnhat"] .td-season-art svg,
html[data-season="quockhanh"] .td-season-art svg { animation: none; }
.td-head.is-season .td-greet-copy h2 { font-size: 19px; }
.td-season-pill {
  display: inline-flex; align-items: center;
  padding: 2px 10px;
  border-radius: var(--r-pill);
  font-size: 12px; font-weight: 700; line-height: 1.5;
  white-space: nowrap;
  color: color-mix(in srgb, var(--season-tint) 78%, var(--text-strong));
  background: color-mix(in srgb, var(--season-tint) 14%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--season-tint) 30%, var(--border));
}
@media (max-width: 767px) {
  .td-head.is-season { padding: 12px; }
  .td-greet-ico.td-season-art { width: 52px; height: 46px; }
  .td-season-art .season-head-art svg { width: 52px; height: 46px; }
  .td-head.is-season .td-greet-copy h2 { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .td-season-art .season-head-art svg { animation: none; }
}

/* ===== 3. Thẻ chào ngày lễ ở trang Hôm nay ===== */
.season-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px 10px 16px;
  border-radius: var(--r-lg);
  background: color-mix(in srgb, var(--season-tint, var(--accent)) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--season-tint, var(--accent)) 25%, var(--border));
  box-shadow: var(--shadow-sm);
  min-width: 0;
}
.season-banner-art {
  flex: none;
  width: 68px;
  height: 58px;
  display: grid;
  place-items: center;
}
.season-banner-art svg {
  width: 64px;
  height: 56px;
  display: block;
  animation: seasonArtFloat 3.6s ease-in-out infinite;
}
html[data-season="thongnhat"] .season-banner-art svg,
html[data-season="quockhanh"] .season-banner-art svg {
  animation: none;
}
@keyframes seasonArtFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-3px); }
}

.season-banner-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: grid;
  gap: 2px;
}
.season-banner-greet {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}
.season-banner-sub {
  font-size: 13px;
  line-height: 1.4;
  color: var(--text-muted);
}
.season-banner-close {
  flex: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: var(--r-sm);
  background: transparent;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background var(--t-fast, .14s), color var(--t-fast, .14s);
}
.season-banner-close:hover {
  background: var(--surface-hover);
  color: var(--text-strong);
}
.season-banner-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
@media (max-width: 767px) {
  .season-banner { gap: 10px; padding: 10px 10px 10px 12px; }
  .season-banner-art { width: 56px; height: 50px; }
  .season-banner-art svg { width: 54px; height: 48px; }
  .season-banner-close { width: 44px; height: 44px; }
}

/* ===== 4. Đợt bung chào mỗi ngày (tự xoá sau ~1.8s) ===== */
.season-burst {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: calc(var(--z-modal, 400) - 10);
}
.season-burst .sb-p {
  position: absolute;
  opacity: 0;
  will-change: transform, opacity;
}
.season-burst .sb-firework {
  left: var(--ox, 50vw);
  top: var(--oy, 30vh);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--c, #facc15);
  animation: seasonFirework 1.4s cubic-bezier(.15, .7, .3, 1) var(--delay, 0s) forwards;
}
@keyframes seasonFirework {
  0%   { transform: translate3d(0, 0, 0) scale(.4); opacity: 1; }
  75%  { opacity: 1; }
  100% { transform: translate3d(var(--dx, 0px), var(--dy, 0px), 0) scale(1); opacity: 0; }
}

.season-burst .sb-snow,
.season-burst .sb-mai,
.season-burst .sb-petal,
.season-burst .sb-confetti {
  top: -12px;
  left: var(--x, 50vw);
  animation: seasonBurstDrop 1.7s ease-in var(--delay, 0s) forwards;
}
@keyframes seasonBurstDrop {
  0%   { transform: translate3d(0, 0, 0) rotate(var(--r, 0deg)); opacity: .95; }
  80%  { opacity: .85; }
  100% { transform: translate3d(var(--dx, 16px), 48vh, 0) rotate(calc(var(--r, 0deg) + 180deg)); opacity: 0; }
}
.season-burst .sb-snow {
  width: 9px; height: 9px; border-radius: 50%;
  background: color-mix(in srgb, var(--accent) 28%, var(--surface));
}
html[data-theme="dark"] .season-burst .sb-snow { background: rgba(255, 255, 255, .75); }
.season-burst .sb-mai { width: 15px; height: 15px; color: #f5b301; }
.season-burst .sb-mai svg ellipse { fill: currentColor; }
.season-burst .sb-mai svg .sf-core { fill: #b45309; }
.season-burst .sb-petal { width: 15px; height: 15px; color: #e26d8a; }
.season-burst .sb-petal svg ellipse { fill: currentColor; }
.season-burst .sb-petal svg .sf-core { fill: #facc15; }
.season-burst .sb-confetti { width: 8px; height: 12px; border-radius: 2px; background: var(--c, #3b82f6); }

/* Chọn trong Cài đặt tài khoản */
#pf-season { min-height: 40px; }
@media (max-width: 767px) {
  #pf-season { min-height: 44px; font-size: 16px; }
  .modal-back:has(.pf-modal) { align-items: stretch; padding: 0; z-index: var(--z-modal, 400); }
  .modal.pf-modal {
    width: 100%;
    max-width: none;
    max-height: calc(100vh / var(--uiz, 1));
    height: 100%;
    border-radius: 0;
    padding: 20px 16px;
  }
}

/* ===== Giảm chuyển động ===== */
@media (prefers-reduced-motion: reduce) {
  .season-fx { display: none !important; }
  .season-burst { display: none !important; }
  .season-banner-art svg,
  .season-lanterns .sl-item,
  html[data-season] .sb-brand:hover .logo-icon::after,
  html[data-season] .login-logo:hover::after {
    animation: none !important;
  }
}
