/*!******************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[14].oneOf[12].use[3]!./components/vote/vote-section.css ***!
  \******************************************************************************************************************************************************************************************************************************************************************************/
/* Federal Network - vote section (VoteParty meter, XP bar, chest vote cards)
   From the vote-section design handoff; everything is scoped to .fn-vote-root.
   Adapted: the handoff's Saira / JetBrains Mono import is dropped - the site
   sets Quantico on every element (theme.css), so those fonts would download
   and never show. The tokens name Quantico directly: `inherit` is not valid
   inside the `font` shorthand, and would void every font rule here. */

.fn-vote-root {
  --bg-950: #060b15;
  --surface-900: #0b1424;
  --surface-800: #12203a;
  --border-700: #223352;
  --border-600: #34507d;
  --ink: #f4f1ea;
  --ink-muted: #a7b3c7;
  --ink-faint: #6f7f99;
  --gold-500: #f5a623;
  --gold-400: #ffbd45;
  --gold-700: #b8740a;
  --gold-ink: #1a1204;
  --gold-soft: rgba(245, 166, 35, 0.14);
  --emerald-400: #3ddc84;
  --emerald-soft: rgba(61, 220, 132, 0.14);
  --discord: #5865f2;
  --focus: #ffd27a;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-press: 0 4px 0 #b8740a;
  --shadow-glow: 0 0 0 1px rgba(245, 166, 35, 0.5), 0 8px 28px rgba(245, 166, 35, 0.18);
  --font-display: Quantico, sans-serif;
  --font-sans: Quantico, sans-serif;
  --font-mono: Quantico, monospace;
  font-family: var(--font-sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
.fn-vote-root, .fn-vote-root * { box-sizing: border-box; }
.fn-vote-root a { color: inherit; text-decoration: none; }
.fn-vote-root :focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.fn-vote-root [hidden] { display: none !important; }

/* ---------- Badge ---------- */
.fn-badge { display: inline-flex; align-items: center; gap: var(--space-1); height: 22px; padding: 0 var(--space-2);
  border-radius: var(--radius-sm); font: 700 11px/1 var(--font-sans); letter-spacing: .08em; text-transform: uppercase; }
.fn-badge--ready { background: var(--gold-soft); color: var(--gold-400); }
.fn-badge--voted { background: var(--emerald-soft); color: var(--emerald-400); }
.fn-badge--wait { background: var(--surface-800); color: var(--ink-muted); }


/* ---------- Vote slot (v2: pixel-cut chest cards) ---------- */
.fn-xp { display: flex; align-items: center; gap: var(--space-4); margin-bottom: var(--space-4); }
.fn-xp__title { font: 800 22px/28px var(--font-display); margin: 0; white-space: nowrap; }
.fn-xp__bar { position: relative; flex: 1; height: 14px; padding: 2px; background: #000000; display: flex; gap: 2px; }
.fn-xp__bar i { flex: 1; background: #1d2a1f; }
.fn-xp__bar i.on { background: var(--emerald-400); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.25), inset 0 2px 0 rgba(255, 255, 255, 0.35); }
.fn-xp__lvl { position: absolute; left: 50%; top: -22px; transform: translateX(-50%); font: 800 20px/1 var(--font-display);
  color: var(--emerald-400); text-shadow: 2px 2px 0 #000000, -1px -1px 0 #000000, 1px -1px 0 #000000, -1px 1px 0 #000000; }
.fn-xp__meta { font: 600 14px/20px var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
.fn-xp__meta b { color: var(--ink); }

/* minmax(0, 1fr), not 1fr: a long site name ("MinecraftServers.org") must not
   widen its column past the screen on phones. */
.fn-slots { display: grid; gap: var(--space-3); grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1100px) { .fn-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .fn-slots { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.fn-slot { --n: 6px; --edge: var(--border-600); position: relative; display: block; padding: 2px; background: var(--edge); color: var(--ink);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n)));
  transition: transform .15s, background .15s; }
.fn-slot__in { --n: 4px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: var(--space-3); height: 100%; padding: var(--space-3);
  background: linear-gradient(180deg, var(--surface-800) 0%, var(--surface-900) 100%);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); }
.fn-slot__top { display: flex; justify-content: space-between; align-items: center; }
.fn-slot__num { font: 800 12px/1 var(--font-mono); color: var(--ink-faint); letter-spacing: .04em; }
.fn-slot__body { display: flex; align-items: center; gap: var(--space-3); min-height: 48px; }
.fn-chest { width: 44px; height: 44px; flex: none; image-rendering: pixelated; filter: drop-shadow(0 3px 0 rgba(0, 0, 0, 0.45)); }
.fn-chest .lid { transition: transform .2s cubic-bezier(.3, 1.6, .5, 1); }
.fn-slot__name { margin: 0; font: 700 16px/20px var(--font-sans); overflow-wrap: anywhere; }
.fn-slot__body > div { min-width: 0; }
.fn-slot__meta { margin: 2px 0 0; font: 500 13px/18px var(--font-sans); color: var(--ink-muted); }
.fn-slot__cta { margin-top: auto; display: flex; align-items: center; justify-content: center; gap: var(--space-2); height: 36px;
  font: 800 13px/1 var(--font-sans); letter-spacing: .1em; text-transform: uppercase; }
.fn-slot__cta svg { width: 14px; height: 14px; }
.fn-slot--ready .fn-slot__cta { background: var(--gold-500); color: var(--gold-ink); box-shadow: inset 0 -4px 0 var(--gold-700), inset 0 2px 0 var(--gold-400); }
.fn-slot--ready::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 210, 122, 0.22) 50%, transparent 65%); transform: translateX(-120%); }
.fn-slot--ready:hover { transform: translateY(-3px); --edge: var(--gold-500); }
.fn-slot--ready:hover .fn-slot__cta { background: var(--gold-400); }
.fn-slot--ready:hover .lid { transform: translateY(-2px) rotate(-6deg); }
@media (prefers-reduced-motion: no-preference) { .fn-slot--ready:hover::after { transition: transform .6s; transform: translateX(120%); } }
.fn-slot--ready:active .fn-slot__cta { box-shadow: inset 0 -2px 0 var(--gold-700); }
.fn-slot--voted { --edge: #1f5a3d; }
.fn-slot--voted .fn-slot__in { background: linear-gradient(180deg, #0f2a26 0%, var(--surface-900) 100%); }
.fn-slot--voted .fn-slot__cta { background: var(--emerald-soft); color: var(--emerald-400); }


/* ---------- VoteParty meter ---------- */
.fn-party { --n: 6px; display: flex; align-items: center; gap: var(--space-4); padding: 2px; margin-bottom: var(--space-6); background: var(--gold-700);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); }
.fn-party__in { --n: 4px; flex: 1; display: flex; align-items: center; gap: var(--space-4); padding: var(--space-4) var(--space-6);
  background: radial-gradient(ellipse at 0% 50%, rgba(245, 166, 35, 0.22), transparent 55%), linear-gradient(180deg, #1a2238 0%, var(--surface-900) 100%);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); }
.fn-party__icon { width: 64px; height: 64px; flex: none; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, 0.45)); }
.fn-party__main { flex: 1; min-width: 0; }
.fn-party__row { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-2); }
.fn-party__label { font: 800 13px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.fn-party__title { margin: 4px 0 0; font: 800 24px/28px var(--font-display); }
.fn-party__count { font: 800 32px/1 var(--font-display); color: var(--ink); white-space: nowrap; }
.fn-party__count span { font-size: 18px; color: var(--ink-muted); font-weight: 600; }
.fn-party__bar { position: relative; height: 22px; padding: 3px; background: #000000; }
.fn-party__bar::before { content: ""; position: absolute; inset: 3px; background: #1c1608; }
.fn-party__fill { position: relative; }
.fn-party__fill { height: 100%; background-color: var(--gold-500);
  background-image: repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.18) 0 8px, transparent 8px 16px);
  box-shadow: inset 0 -4px 0 var(--gold-700), inset 0 3px 0 var(--gold-400); }
@media (prefers-reduced-motion: no-preference) { .fn-party__fill { background-size: 22.6px 22.6px; animation: fn-stripes 1s linear infinite; } }
@keyframes fn-stripes { to { background-position: 22.6px 0; } }
.fn-party__ticks { position: absolute; inset: 3px; display: flex; pointer-events: none; }
.fn-party__ticks i { flex: 1; border-right: 2px solid rgba(0, 0, 0, 0.55); }
.fn-party__ticks i:last-child { border-right: 0; }
.fn-party__hint { margin: var(--space-2) 0 0; font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.fn-party__hint b { color: var(--ink); }
.fn-party__side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; padding-left: var(--space-4); border-left: 1px solid var(--border-700); }
.fn-party__side small { font: 700 11px/16px var(--font-sans); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-muted); }
.fn-party__side strong { font: 700 15px/20px var(--font-sans); }
@media (max-width: 720px) { .fn-party__side { display: none; } .fn-party__icon { width: 44px; height: 44px; } }

/* Phones: two narrow columns. Smaller chest and button text so "Again in 11h 42m"
   stays on one line. */
@media (max-width: 640px) {
  .fn-slot__in { padding: var(--space-2); gap: var(--space-2); }
  .fn-slot__body { gap: var(--space-2); }
  .fn-chest { width: 32px; height: 32px; }
  .fn-slot__name { font-size: 14px; line-height: 18px; }
  .fn-slot__meta { font-size: 12px; line-height: 16px; }
  .fn-slot__cta { font-size: 11px; letter-spacing: .04em; gap: 4px; white-space: nowrap; }
  .fn-xp { gap: var(--space-2); }
  .fn-xp__title { font-size: 18px; }
  .fn-party__in { padding: var(--space-3); gap: var(--space-3); }
  .fn-party__title { font-size: 18px; line-height: 22px; }
  .fn-party__count { font-size: 24px; }
}

/* ---------- Monthly top voters (TopVoters.jsx) ---------- */
.fn-top { margin-top: var(--space-8); }
.fn-top__headrow { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-4); }
.fn-top__month { color: var(--gold-400); }
.fn-top__reset { font: 600 13px/20px var(--font-sans); color: var(--ink-muted); }
.fn-top__grid { display: grid; grid-template-columns: minmax(220px, 280px) minmax(0, 1fr); gap: var(--space-4); align-items: stretch; }
.fn-top__leader { --n: 6px; padding: 2px; background: var(--gold-700);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); }
.fn-top__leaderIn { --n: 4px; position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--space-2); padding: var(--space-4); text-align: center;
  background: radial-gradient(ellipse at 50% 30%, rgba(245, 166, 35, 0.2), transparent 60%), linear-gradient(180deg, #1a2238 0%, var(--surface-900) 100%);
  clip-path: polygon(0 var(--n), var(--n) var(--n), var(--n) 0, calc(100% - var(--n)) 0, calc(100% - var(--n)) var(--n), 100% var(--n), 100% calc(100% - var(--n)), calc(100% - var(--n)) calc(100% - var(--n)), calc(100% - var(--n)) 100%, var(--n) 100%, var(--n) calc(100% - var(--n)), 0 calc(100% - var(--n))); }
.fn-top__leaderIn .fn-badge { position: absolute; top: var(--space-3); left: var(--space-3); }
.fn-top__leaderHead { position: relative; padding-top: 14px; }
.fn-top__leaderHead .fn-top__crown { position: absolute; top: 0; left: 50%; width: 32px; height: 20px; transform: translateX(-50%); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.45)); }
.fn-top__leaderHead .fn-top__head { width: 72px; height: 72px; box-shadow: 0 4px 0 rgba(0, 0, 0, 0.45); }
.fn-top__head { image-rendering: pixelated; flex: none; display: block; }
.fn-top__leaderName { margin: 4px 0 0; font: 800 22px/26px var(--font-display); overflow-wrap: anywhere; }
.fn-top__leaderVotes { margin: 0; font: 500 14px/20px var(--font-sans); color: var(--ink-muted); }
.fn-top__leaderVotes b { color: var(--gold-400); font-size: 18px; }
.fn-top__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fn-top__row { display: grid; grid-template-columns: 34px 24px minmax(0, 150px) minmax(0, 1fr) auto; align-items: center; gap: var(--space-3);
  padding: 8px var(--space-3); background: linear-gradient(180deg, var(--surface-800), var(--surface-900)); border: 1px solid var(--border-700); }
.fn-top__rank { font: 800 12px/1 var(--font-mono); color: var(--ink-faint); }
.fn-top__name { font: 700 14px/18px var(--font-sans); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-top__bar { height: 8px; padding: 1px; background: #000000; }
.fn-top__bar i { display: block; height: 100%; background: var(--gold-500); box-shadow: inset 0 -2px 0 var(--gold-700); }
.fn-top__votes { font: 700 13px/1 var(--font-sans); color: var(--ink-muted); white-space: nowrap; }
.fn-top__empty, .fn-top__hallEmpty { margin: 0; padding: var(--space-4); color: var(--ink-muted); font: 500 14px/20px var(--font-sans); border: 1px dashed var(--border-600); }
.fn-top__hall { margin-top: var(--space-6); }
.fn-top__hallTitle { margin: 0 0 var(--space-3); font: 800 13px/1 var(--font-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-400); }
.fn-top__hallList { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.fn-top__hallItem { display: flex; align-items: center; gap: var(--space-3); flex-wrap: wrap; padding: 8px var(--space-3); background: var(--surface-900); border: 1px solid var(--border-700); }
.fn-top__hallMonth { font: 800 12px/1 var(--font-mono); color: var(--ink-faint); min-width: 70px; text-transform: uppercase; letter-spacing: .06em; }
.fn-top__hallItem .fn-top__crown { width: 16px; height: 10px; }
.fn-top__runners { margin-left: auto; font: 500 12px/1 var(--font-sans); color: var(--ink-faint); }
@media (max-width: 760px) {
  .fn-top__grid { grid-template-columns: minmax(0, 1fr); }
  .fn-top__row { grid-template-columns: 30px 24px minmax(0, 1fr) auto; }
  .fn-top__bar { display: none; }
  .fn-top__runners { margin-left: 0; width: 100%; }
}

