/* Winners archive v2: period tabs on a white stage, one result card per period. */
.fb-winners .winner-list-section { position: relative; overflow: clip; padding-block: clamp(56px, 7vw, 96px); background: #fff; }
.fb-winners .winner-list-section > .container { position: relative; }
.fb-winners .winner-archive { overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; }
.fb-winners .winner-official-source { color: #5d7590; }
.fb-winners .winner-official-source a { color: #1559c0; }

.fb-winners .wa-head { margin-bottom: 26px; text-align: center; }
.fb-winners .wa-head p { margin: 0 0 10px; color: #a3772f; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.fb-winners .wa-head h2 { margin: 0; color: #0d3a85; font-size: clamp(28px, 3.4vw, 46px); line-height: 1.12; letter-spacing: -.035em; }

/* Tabs */
.fb-winners .wa-tabs { position: relative; display: flex; gap: 4px; width: max-content; max-width: 100%; margin: 0 auto 30px; padding: 6px; overflow-x: auto; border: 1px solid #dbe5f2; border-radius: 999px; background: #f2f6fb; box-shadow: inset 0 1px 2px #0d3a850d; scrollbar-width: none; }
.fb-winners .wa-tabs { scroll-margin-top: 96px; }
.fb-winners .wa-tabs::-webkit-scrollbar { display: none; }
.fb-winners .wa-tab { position: relative; flex: none; padding: 12px 26px; border-radius: 999px; color: #3e5a7c; font-size: 15px; font-weight: 700; text-decoration: none; white-space: nowrap; transition: background .25s, color .25s, box-shadow .25s; }
.fb-winners .wa-tab:hover { color: #0d3a85; background: #e3ebf6; }
.fb-winners .wa-tab.is-published::after { content: ""; position: absolute; top: 9px; right: 12px; width: 6px; height: 6px; border-radius: 50%; background: #d2a24a; }
.fb-winners .wa-tab[aria-selected="true"] { color: #3b2a0c; background: linear-gradient(180deg, #fbe9b8, #e7c67b); box-shadow: 0 6px 18px #e7c67b55, inset 0 1px 0 #fff8; }
.fb-winners .wa-tab[aria-selected="true"]::after { background: #8f6a25; }
.fb-winners .wa-tab:focus-visible { outline: 2px solid #1559c0; outline-offset: 2px; }

/* Result card */
.fb-winners .wa-panels { display: grid; gap: 28px; }
.fb-winners .wa-panel { padding: clamp(14px, 1.8vw, 24px); border: 1px solid #dfe7f1; border-radius: clamp(24px, 3vw, 40px); background: linear-gradient(135deg, #f7f9fd 0%, #f1f5fb 100%); box-shadow: 0 18px 44px #0d3a8514; }
.fb-winners .is-tabbed .wa-panel { animation: wa-in .45s cubic-bezier(.2, .7, .2, 1); }
.fb-winners .wa-panel[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .fb-winners .is-tabbed .wa-panel { animation: none; } }

/* Two columns: sticky art + period info on the left, compact winner lists on the right. */
.fb-winners .wa-panel { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: clamp(20px, 2.8vw, 40px); align-items: start; }
.fb-winners .wa-panel[hidden] { display: none; }
.fb-winners .wa-side { position: sticky; top: 96px; display: grid; gap: 20px; }
.fb-winners .wa-art { position: relative; margin: 0; overflow: hidden; aspect-ratio: 1 / .9; border-radius: clamp(18px, 2.2vw, 28px); background: #0b3f86; box-shadow: 0 18px 40px #0a2d6533; }
.fb-winners .wa-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.fb-winners .wa-art figcaption { position: absolute; left: 14px; bottom: 14px; padding: 7px 13px; border: 1px solid #ffffff40; border-radius: 999px; background: #06275fb8; color: #fff; font-size: 12px; font-weight: 700; backdrop-filter: blur(6px); }
.fb-winners .wa-intro { padding: 0 6px 4px; }
.fb-winners .wa-kicker { margin: 0; color: #0d3a85; font-size: clamp(16px, 1.5vw, 20px); font-weight: 800; line-height: 1.25; letter-spacing: -.015em; }
.fb-winners .wa-intro h3 { margin: 2px 0 14px; color: #1559c0; font-size: clamp(28px, 2.9vw, 40px); line-height: 1.1; letter-spacing: -.035em; }
.fb-winners .wa-intro h3 em { font-style: normal; }
.fb-winners .wa-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.fb-winners .wa-pill, .fb-winners .wa-status { padding: 6px 13px; border: 1px solid #d9e3f0; border-radius: 999px; background: #fff; color: #3e5a7c; font-size: 12px; font-weight: 650; }
.fb-winners .wa-status { border-color: #f1e2bd; background: #fdf6e4; color: #8a6524; }
.fb-winners .is-published .wa-status { border-color: #cfeadb; background: #ecf8f1; color: #17734a; }
.fb-winners .wa-live { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 10px; background: linear-gradient(180deg, #f0284a, #d0103a); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-decoration: none; text-transform: uppercase; box-shadow: 0 8px 18px #d0103a40; }
.fb-winners .wa-live i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: wa-pulse 1.6s ease-in-out infinite; }
.fb-winners .wa-live:hover { filter: brightness(1.06); }
@keyframes wa-pulse { 50% { opacity: .35; } }
.fb-winners .wa-count { margin: 16px 0 4px; color: #0f3c80; font-size: 14px; font-weight: 750; }
.fb-winners .wa-note { margin: 0 0 12px; color: #6f849c; font-size: 12px; line-height: 1.5; }
.fb-winners .wa-rules { display: inline-flex; align-items: center; gap: 8px; color: #1559c0; font-size: 13px; font-weight: 800; text-decoration: none; }
.fb-winners .wa-rules svg { width: 16px; height: 16px; }

/* Right column: one compact list per tier. */
.fb-winners .wa-main { display: grid; gap: 14px; min-width: 0; }
.fb-winners .wa-tier { overflow: hidden; border: 1px solid #e1e8f2; border-radius: 18px; background: #fff; box-shadow: 0 6px 16px #0d3a850a; }
.fb-winners .wa-tier-head { display: flex; align-items: center; gap: 12px; padding: 11px 16px; border-bottom: 1px solid #edf1f7; background: #f8fafd; }
.fb-winners .wa-tier-art { display: grid; flex: none; place-items: center; width: 40px; height: 40px; overflow: hidden; border-radius: 11px; background: radial-gradient(circle at 50% 35%, #fff6dc, #efd9a4); color: #3f6a95; font-size: 12px; font-weight: 850; }
.fb-winners .wa-tier-art img { width: 86%; height: 86%; object-fit: contain; }
.fb-winners .wa-tier-nhat .wa-tier-art { background: #0b3f86; }
.fb-winners .wa-tier-nhat .wa-tier-art img { width: 100%; height: 100%; object-fit: cover; }
.fb-winners .wa-tier-du-phong .wa-tier-art { background: #e3ecf7; }
.fb-winners .wa-tier-head h4 { margin: 0; color: #0f3c80; font-size: 15px; line-height: 1.25; }
.fb-winners .wa-tier-head h4 b { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: #f7ecd2; color: #7d5a1d; font-size: 10px; font-weight: 800; letter-spacing: .04em; vertical-align: 2px; white-space: nowrap; }
.fb-winners .wa-tier-du-phong .wa-tier-head h4 b { background: #e6eef8; color: #33597c; }
.fb-winners .wa-tier-head p { margin: 1px 0 0; color: #6f849c; font-size: 12px; line-height: 1.4; }
.fb-winners .wa-tier-nhat { border-color: #ecd9a8; box-shadow: 0 10px 26px #c8962a1a; }
.fb-winners .wa-tier-nhat .wa-tier-head { border-bottom-color: #f0e3c2; background: linear-gradient(110deg, #fff8e8, #fcefd0); }

.fb-winners .wa-people { margin: 0; padding: 0; list-style: none; }
.fb-winners .wa-person { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 16px; border-top: 1px solid #f0f3f8; }
.fb-winners .wa-person:first-child { border-top: 0; }
.fb-winners .wa-no { color: #a3772f; font-size: 13px; font-weight: 850; font-variant-numeric: tabular-nums; }
.fb-winners .wa-tier-du-phong .wa-no { color: #4a6d93; }
.fb-winners .wa-who { display: grid; min-width: 0; }
.fb-winners .wa-who strong { overflow: hidden; color: #0f2f5c; font-size: 14px; font-weight: 800; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.fb-winners .wa-who span { overflow: hidden; color: #7a8ea6; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.fb-winners .wa-ids { display: grid; grid-template-columns: 92px 92px; gap: 0 14px; margin: 0; text-align: right; }
.fb-winners .wa-ids dt { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.fb-winners .wa-cols { display: grid; grid-template-columns: 92px 92px; gap: 0 14px; margin-left: auto; color: #8a9cb2; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-align: right; text-transform: uppercase; white-space: nowrap; }
.fb-winners .wa-tier-du-phong .wa-cols { grid-template-columns: 92px; margin-right: 106px; }
.fb-winners .wa-ids dd { margin: 0; color: #0f2f5c; font-size: 13px; font-weight: 750; font-variant-numeric: tabular-nums; white-space: nowrap; }
.fb-winners .wa-code dd { color: #a3772f; font-weight: 850; }
.fb-winners .wa-tier-du-phong .wa-code dd { color: #1559c0; }
.fb-winners .wa-tier-du-phong .wa-ids { grid-template-columns: 92px; margin-right: 106px; }
.fb-winners .wa-tier-nhat .wa-person { background: linear-gradient(110deg, #fffdf8, #fffaf0); }
.fb-winners .wa-person.is-pending .wa-who strong { color: #7b8fa8; font-weight: 700; text-transform: none; }
.fb-winners .wa-person.is-pending .wa-ids dd { color: #b4c1d0; }

@media (max-width: 980px) {
  .fb-winners .wa-panel { grid-template-columns: 1fr; }
  .fb-winners .wa-side { position: static; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
}
@media (max-width: 640px) {
  .fb-winners .wa-side { grid-template-columns: 1fr; gap: 16px; }
  .fb-winners .wa-art { aspect-ratio: 16 / 10; }
  .fb-winners .wa-intro { padding: 0 4px; }
  .fb-winners .wa-tier-head { padding: 10px 12px; }
  .fb-winners .wa-person { grid-template-columns: 22px minmax(0, 1fr) auto; gap: 10px; padding: 9px 12px; }
  .fb-winners .wa-ids { grid-template-columns: auto; gap: 1px; }
  .fb-winners .wa-cols { display: none; }
  .fb-winners .wa-tier-du-phong .wa-ids { margin-right: 0; }
  .fb-winners .wa-code dd::before { content: "MDT "; color: #95a6ba; font-size: 10px; font-weight: 700; }
  .fb-winners .wa-who strong { font-size: 13px; white-space: normal; }
}

/* Pager */
.fb-winners .wa-pager { display: flex; align-items: center; justify-content: center; gap: 22px; margin: 30px 0 6px; color: #7b8fa8; font-size: 16px; font-weight: 700; letter-spacing: .08em; }
.fb-winners .wa-pager[hidden] { display: none; }
.fb-winners .wa-pager b { color: #0d3a85; }
.fb-winners .wa-pager button { display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid #d3deec; border-radius: 50%; background: #fff; color: #0d3a85; box-shadow: 0 6px 16px #0d3a8512; cursor: pointer; transition: background .2s, border-color .2s; }
.fb-winners .wa-pager button:hover { border-color: #1559c0; background: #f2f6fb; }
.fb-winners .wa-pager button:focus-visible { outline: 2px solid #1559c0; outline-offset: 3px; }
.fb-winners .wa-pager svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transform: rotate(90deg); }
.fb-winners .wa-pager button + span + button svg { transform: rotate(-90deg); }

@media (max-width: 640px) {
  .fb-winners .wa-head { margin-bottom: 20px; }
  .fb-winners .wa-tabs { width: auto; margin-inline: -4px; justify-content: flex-start; }
  .fb-winners .wa-tab { padding: 10px 18px; font-size: 14px; }
  .fb-winners .wa-panel { padding: 12px; border-radius: 24px; }
  .fb-winners .wa-pager { gap: 16px; margin-top: 24px; }
  .fb-winners .wa-pager button { width: 48px; height: 48px; }
}
