.fvsv-shell {
margin: 24px 0;
}
.fvsv-wrapper {
--fvsv-font: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
--fvsv-ink: #0f172a;
--fvsv-muted: #64748b;
--fvsv-line: rgba(15, 23, 42, 0.08);
--fvsv-card: rgba(255, 255, 255, 0.88);
position: relative;
max-width: 1160px;
margin: 0 auto;
padding: 18px;
border-radius: 28px;
border: 1px solid rgba(255, 255, 255, 0.8);
background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
box-shadow: 0 20px 50px rgba(15, 23, 42, 0.06);
box-sizing: border-box;
isolation: isolate;
font: 400 13px/1.45 var(--fvsv-font);
color: var(--fvsv-ink);
}
.fvsv-wrapper *,
.fvsv-wrapper *::before,
.fvsv-wrapper *::after {
box-sizing: border-box;
font-family: inherit;
}
.fvsv-backdrop {
position: absolute;
inset: 0;
border-radius: inherit;
background:
radial-gradient(circle at 12% 12%, rgba(191, 219, 254, 0.55), transparent 18%),
radial-gradient(circle at 82% 18%, rgba(196, 181, 253, 0.18), transparent 16%),
linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(248, 250, 252, 0.05));
pointer-events: none;
z-index: 0;
}
.fvsv-header,
.fvsv-panel-head,
.fvsv-result-row,
.fvsv-result-main,
.fvsv-result-graph,
.fvsv-ballot-card,
.fvsv-archive-head,
.fvsv-archive-row,
.fvsv-meta-row {
display: flex;
gap: 14px;
}
.fvsv-header,
.fvsv-panel-head,
.fvsv-result-row,
.fvsv-result-graph,
.fvsv-archive-head,
.fvsv-archive-row,
.fvsv-meta-row {
justify-content: space-between;
}
.fvsv-header,
.fvsv-dashboard,
.fvsv-archive,
.fvsv-notice {
position: relative;
z-index: 1;
}
.fvsv-header {
display: grid;
grid-template-columns: minmax(0, 1fr);
gap: 16px;
margin-bottom: 10px;
align-items: start;
}
.fvsv-title-block {
padding: 6px 4px 0 2px;
}
.fvsv-eyebrow,
.fvsv-kicker,
.fvsv-rank,
.fvsv-archive-month {
display: inline-block;
font-size: 10px;
font-weight: 800;
letter-spacing: 0.16em;
text-transform: uppercase;
color: #2563eb;
}
.fvsv-title-block h2,
.fvsv-panel-head h3,
.fvsv-result-main h4,
.fvsv-archive-head h4 {
margin: 0;
color: var(--fvsv-ink);
}
.fvsv-title-block h2 {
margin-top: 2px;
font-size: clamp(22px, 2.6vw, 32px);
line-height: 1.02;
letter-spacing: -0.05em;
}
.fvsv-description,
.fvsv-panel-head p,
.fvsv-result-main p {
color: var(--fvsv-muted);
font-size: 12px;
}
.fvsv-top-panels {
display: grid;
grid-template-columns: repeat(4, minmax(0, 1fr));
gap: 10px;
}
.fvsv-summary-card,
.fvsv-meta-card,
.fvsv-results-panel,
.fvsv-vote-card,
.fvsv-mini-chart-card,
.fvsv-result-row,
.fvsv-form-card,
.fvsv-archive-card {
background: var(--fvsv-card);
border: 1px solid var(--fvsv-line);
border-radius: 22px;
box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
backdrop-filter: blur(12px);
}
.fvsv-summary-card,
.fvsv-meta-card {
padding: 12px 14px;
}
.fvsv-summary-label {
display: block;
margin-bottom: 6px;
color: var(--fvsv-muted);
font-size: 11px;
}
.fvsv-summary-wide {
grid-column: span 2;
}
.fvsv-summary-card strong {
display: block;
font-size: 18px;
line-height: 1.1;
letter-spacing: -0.03em;
}
.fvsv-dashboard {
display: grid;
grid-template-columns: minmax(0, 1fr) 360px;
gap: 16px;
align-items: start;
}
.fvsv-main-column {
display: grid;
gap: 10px;
align-content: start;
}
.fvsv-results-panel,
.fvsv-vote-card,
.fvsv-mini-chart-card {
padding: 16px;
align-self: start;
}
.fvsv-panel-head {
align-items: flex-start;
margin-bottom: 10px;
}
.fvsv-panel-head > p {
max-width: 320px;
margin: 0;
text-align: right;
}
.fvsv-panel-head h3 {
margin-top: 3px;
font-size: 18px;
line-height: 1.1;
letter-spacing: -0.03em;
}
.fvsv-results-list {
display: grid;
gap: 8px;
}
.fvsv-locked-results {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 10px;
}
.fvsv-countdown-card {
display: grid;
grid-template-columns: 92px minmax(0, 1fr);
gap: 12px;
align-items: center;
}
.fvsv-countdown-ring {
--fvsv-countdown-progress: 0;
position: relative;
width: 92px;
height: 92px;
border-radius: 50%;
background:
radial-gradient(circle at center, #ffffff 54%, transparent 55%),
conic-gradient(#2563eb calc(var(--fvsv-countdown-progress) * 1turn), #dbeafe 0turn);
box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}
.fvsv-countdown-ring-fill {
position: absolute;
inset: 6px;
border-radius: 50%;
background: radial-gradient(circle at 50% 32%, rgba(255, 255, 255, 0.96), rgba(239, 246, 255, 0.9));
}
.fvsv-countdown-ring-center {
position: absolute;
inset: 18px;
display: grid;
place-items: center;
border-radius: 50%;
background: #fff;
box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.12);
text-align: center;
}
.fvsv-countdown-ring-center strong {
font-size: 28px;
line-height: 1;
color: #0f172a;
}
.fvsv-countdown-ring-center span {
margin-top: 2px;
color: var(--fvsv-muted);
font-size: 10px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.12em;
}
.fvsv-countdown-copy {
display: grid;
gap: 4px;
}
.fvsv-countdown-copy strong {
font-size: 18px;
line-height: 1.1;
color: #1d4ed8;
}
.fvsv-countdown-copy span {
color: var(--fvsv-muted);
font-size: 11px;
}
.fvsv-locked-metric {
padding: 14px;
border-radius: 18px;
background: #f8fafc;
border: 1px solid #e5edf5;
}
.fvsv-locked-metric span {
display: block;
margin-bottom: 6px;
color: var(--fvsv-muted);
font-size: 11px;
}
.fvsv-locked-metric strong {
display: block;
font-size: 18px;
line-height: 1.15;
}
.fvsv-result-row {
align-items: center;
padding: 10px;
}
.fvsv-result-row.is-leading {
border-color: rgba(37, 99, 235, 0.18);
background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}
.fvsv-result-main {
flex: 1;
align-items: center;
min-width: 0;
}
.fvsv-result-main img,
.fvsv-ballot-card img,
.fvsv-archive-row img {
width: 42px;
height: 42px;
border-radius: 12px;
object-fit: cover;
flex: 0 0 auto;
}
.fvsv-avatar-placeholder {
display: inline-flex;
align-items: center;
justify-content: center;
width: 42px;
height: 42px;
border-radius: 12px;
background: linear-gradient(180deg, #eff6ff 0%, #dbeafe 100%);
color: #1d4ed8;
font-size: 12px;
font-weight: 800;
}
.fvsv-avatar-small {
width: 34px;
height: 34px;
border-radius: 10px;
}
.fvsv-rank {
margin-bottom: 4px;
}
.fvsv-result-main h4 {
font-size: 15px;
letter-spacing: -0.02em;
}
.fvsv-result-main p {
margin: 3px 0 0;
font-size: 11px;
}
.fvsv-result-graph {
align-items: center;
width: min(320px, 42%);
min-width: 200px;
}
.fvsv-result-metrics {
min-width: 64px;
text-align: right;
}
.fvsv-result-metrics strong {
display: block;
font-size: 18px;
line-height: 1;
letter-spacing: -0.03em;
}
.fvsv-result-metrics span {
display: block;
margin-top: 2px;
color: var(--fvsv-muted);
font-size: 11px;
}
.fvsv-progress {
flex: 1;
height: 8px;
overflow: hidden;
border-radius: 999px;
background: #e9eef5;
}
.fvsv-progress-archive {
margin-top: 6px;
height: 7px;
}
.fvsv-progress-fill {
height: 100%;
border-radius: inherit;
}
.fvsv-segment-bar {
display: flex;
overflow: hidden;
width: 100%;
min-height: 20px;
margin: 10px 0 14px;
border-radius: 999px;
background: #e5e7eb;
}
.fvsv-segment-bar-compact {
min-height: 16px;
margin: 8px 0 10px;
}
.fvsv-segment {
display: flex;
align-items: center;
justify-content: center;
min-width: 0;
color: #fff;
font-size: 10px;
font-weight: 800;
}
.fvsv-segment span {
white-space: nowrap;
}
.fvsv-side-panel {
display: grid;
gap: 10px;
align-content: start;
}
.fvsv-form-card {
padding: 14px;
}
.fvsv-form-card + .fvsv-form-card {
margin-top: 8px;
}
.fvsv-privacy-note {
margin-bottom: 12px;
padding: 12px 14px;
border-radius: 16px;
background: #f8fafc;
border: 1px solid #e2e8f0;
color: var(--fvsv-muted);
font-size: 12px;
line-height: 1.5;
}
.fvsv-form-card h4 {
margin: 0 0 10px;
font-size: 15px;
letter-spacing: -0.02em;
}
.fvsv-label {
display: block;
margin-bottom: 6px;
font-size: 12px;
font-weight: 700;
}
.fvsv-input {
width: 100%;
min-height: 40px;
margin-bottom: 10px;
padding: 10px 12px;
border: 1px solid #dbe1e8;
border-radius: 12px;
background: #f8fafc;
font-size: 13px;
color: var(--fvsv-ink);
-webkit-text-fill-color: var(--fvsv-ink);
color-scheme: light;
appearance: none;
opacity: 1;
}
.fvsv-input::placeholder {
color: #64748b;
opacity: 1;
}
.fvsv-input:focus {
outline: none;
border-color: #93c5fd;
box-shadow: 0 0 0 3px rgba(147, 197, 253, 0.28);
background: #ffffff;
}
.fvsv-input:-webkit-autofill,
.fvsv-input:-webkit-autofill:hover,
.fvsv-input:-webkit-autofill:focus {
-webkit-text-fill-color: var(--fvsv-ink);
box-shadow: 0 0 0 1000px #f8fafc inset;
transition: background-color 9999s ease-out 0s;
}
.fvsv-code-input {
letter-spacing: 0.2em;
font-weight: 800;
text-align: center;
}
.fvsv-button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 38px;
padding: 0 14px;
border: none;
border-radius: 999px;
background: linear-gradient(180deg, #1f2937 0%, #111827 100%);
color: #fff !important;
text-decoration: none;
font-size: 12px;
font-weight: 700;
cursor: pointer;
box-shadow: 0 8px 18px rgba(17, 24, 39, 0.14);
}
.fvsv-ballot-list {
display: grid;
gap: 8px;
margin: 10px 0 12px;
}
.fvsv-ballot-option input {
position: absolute;
opacity: 0;
pointer-events: none;
}
.fvsv-ballot-card {
position: relative;
align-items: center;
padding: 8px;
border: 1px solid #e5e7eb;
border-radius: 14px;
background: #fff;
transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.fvsv-ballot-option input:checked + .fvsv-ballot-card,
.fvsv-ballot-card:hover {
border-color: rgba(37, 99, 235, 0.28);
box-shadow: 0 8px 18px rgba(37, 99, 235, 0.08);
transform: translateY(-1px);
}
.fvsv-ballot-option input:checked + .fvsv-ballot-card {
background: linear-gradient(180deg, #dbeafe 0%, #eff6ff 52%, #ffffff 100%);
border-color: #2563eb;
box-shadow: 0 10px 22px rgba(37, 99, 235, 0.16);
}
.fvsv-ballot-option input:checked + .fvsv-ballot-card::after {
content: "Vybrané";
position: absolute;
top: 7px;
right: 8px;
padding: 3px 8px;
border-radius: 999px;
background: #2563eb;
color: #fff;
font-size: 10px;
font-weight: 700;
}
.fvsv-ballot-copy {
display: grid;
gap: 2px;
}
.fvsv-ballot-copy strong {
font-size: 13px;
}
.fvsv-ballot-option input:checked + .fvsv-ballot-card .fvsv-ballot-copy strong {
color: #1d4ed8;
}
.fvsv-ballot-copy small {
font-size: 11px;
color: var(--fvsv-muted);
}
.fvsv-column-chart {
display: grid;
grid-template-columns: repeat(var(--fvsv-column-count, 5), minmax(0, 1fr));
gap: 10px;
align-items: end;
padding: 18px 10px 8px;
border-radius: 16px;
background: #f8fafc;
border: 1px solid #edf2f7;
}
.fvsv-public-turnout {
display: grid;
place-items: center;
min-height: 140px;
border-radius: 16px;
background: #f8fafc;
border: 1px solid #edf2f7;
text-align: center;
}
.fvsv-public-turnout strong {
font-size: 34px;
line-height: 1;
letter-spacing: -0.04em;
}
.fvsv-public-turnout span {
color: var(--fvsv-muted);
font-size: 12px;
}
.fvsv-column-item {
display: grid;
grid-template-rows: 16px 120px minmax(32px, auto);
gap: 8px;
justify-items: center;
align-self: end;
min-width: 0;
}
.fvsv-column-value {
min-height: 14px;
font-size: 11px;
font-weight: 700;
line-height: 1;
width: 100%;
text-align: center;
}
.fvsv-column-track {
display: flex;
align-items: end;
justify-content: center;
width: 100%;
min-width: 0;
height: 120px;
}
.fvsv-column-bar {
width: min(20px, 100%);
min-height: 10px;
border-radius: 999px;
box-shadow: inset 0 -3px 0 rgba(15, 23, 42, 0.08);
}
.fvsv-column-label {
min-height: 32px;
width: 100%;
font-size: 10px;
line-height: 1.2;
text-align: center;
color: var(--fvsv-muted);
overflow-wrap: anywhere;
word-break: normal;
max-width: 64px;
hyphens: auto;
}
.fvsv-column-label span {
display: block;
}
.fvsv-archive {
margin-top: 0;
}
.fvsv-archive-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
gap: 10px;
}
.fvsv-archive-card {
padding: 12px;
}
.fvsv-archive-meta {
margin-bottom: 4px;
color: var(--fvsv-muted);
font-size: 11px;
}
.fvsv-archive-person {
display: grid;
grid-template-columns: 34px minmax(0, 1fr);
gap: 10px;
align-items: center;
flex: 1;
min-width: 0;
}
.fvsv-archive-copy {
min-width: 0;
}
.fvsv-archive-copy span {
display: block;
font-size: 13px;
color: var(--fvsv-ink);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.fvsv-archive-status {
display: inline-flex;
align-items: center;
padding: 6px 10px;
border-radius: 999px;
font-size: 11px;
font-weight: 700;
}
.fvsv-archive-status-open {
background: #eff6ff;
color: #1d4ed8;
}
.fvsv-archive-status-closed {
background: #ecfeff;
color: #0f766e;
}
.fvsv-archive-status-draft {
background: #f3f4f6;
color: #6b7280;
}
.fvsv-notice {
position: relative;
z-index: 1;
margin-bottom: 10px;
padding: 10px 12px;
border-radius: 14px;
font-size: 12px;
}
.fvsv-notice-success {
background: #ecfdf5;
color: #166534;
border: 1px solid #86efac;
}
.fvsv-notice-error {
background: #fff1f2;
color: #9f1239;
border: 1px solid #fecdd3;
}
.fvsv-form-card.is-submitting {
pointer-events: none;
opacity: 0.96;
}
.fvsv-modal-open {
overflow: hidden;
}
.fvsv-modal-backdrop {
position: fixed;
inset: 0;
z-index: 99999;
display: grid;
place-items: center;
padding: 20px;
background: rgba(15, 23, 42, 0.38);
backdrop-filter: blur(10px);
}
.fvsv-modal {
width: min(100%, 420px);
padding: 24px;
border-radius: 26px;
background: rgba(255, 255, 255, 0.98);
border: 1px solid rgba(255, 255, 255, 0.9);
box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
text-align: center;
}
.fvsv-modal-pending {
width: min(100%, 440px);
}
.fvsv-modal-backdrop-pending {
background: rgba(15, 23, 42, 0.42);
}
.fvsv-modal-badge {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 12px;
border-radius: 999px;
background: #ecfdf5;
color: #166534;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.fvsv-modal-badge-error {
background: #fff1f2;
color: #be123c;
}
.fvsv-modal h3 {
margin: 14px 0 8px;
font-size: 24px;
line-height: 1.05;
letter-spacing: -0.03em;
color: var(--fvsv-ink);
}
.fvsv-modal p {
margin: 0 0 18px;
color: var(--fvsv-muted);
font-size: 14px;
}
.fvsv-modal .fvsv-button {
min-width: 140px;
}
.fvsv-submit-progress {
overflow: hidden;
width: 100%;
height: 12px;
margin-top: 8px;
border-radius: 999px;
background: #e2e8f0;
}
.fvsv-submit-progress-bar {
display: block;
width: 42%;
height: 100%;
border-radius: inherit;
background: linear-gradient(90deg, #2563eb 0%, #38bdf8 100%);
animation: fvsv-submit-loading 1.2s ease-in-out infinite;
}
@keyframes fvsv-submit-loading {
0% {
transform: translateX(-100%);
}
100% {
transform: translateX(260%);
}
}
.fvsv-color-0,
.fvsv-color-0.fvsv-progress-fill,
.fvsv-color-0.fvsv-column-bar {
background: #4cb2e5;
}
.fvsv-color-1,
.fvsv-color-1.fvsv-progress-fill,
.fvsv-color-1.fvsv-column-bar {
background: #da2340;
}
.fvsv-color-2,
.fvsv-color-2.fvsv-progress-fill,
.fvsv-color-2.fvsv-column-bar {
background: #b56a52;
}
.fvsv-color-3,
.fvsv-color-3.fvsv-progress-fill,
.fvsv-color-3.fvsv-column-bar {
background: #95476c;
}
.fvsv-color-4,
.fvsv-color-4.fvsv-progress-fill,
.fvsv-color-4.fvsv-column-bar {
background: #8ab64a;
}
.fvsv-color-5,
.fvsv-color-5.fvsv-progress-fill,
.fvsv-color-5.fvsv-column-bar {
background: #d1e62c;
}
.fvsv-color-6,
.fvsv-color-6.fvsv-progress-fill,
.fvsv-color-6.fvsv-column-bar {
background: #6f39b8;
}
.fvsv-color-7,
.fvsv-color-7.fvsv-progress-fill,
.fvsv-color-7.fvsv-column-bar {
background: #cfd4dc;
}
@media (max-width: 1040px) {
.fvsv-header,
.fvsv-dashboard {
grid-template-columns: 1fr;
}
.fvsv-top-panels {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 760px) {
.fvsv-wrapper {
padding: 14px;
border-radius: 20px;
}
.fvsv-header,
.fvsv-top-panels,
.fvsv-dashboard {
gap: 12px;
}
.fvsv-top-panels {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fvsv-summary-wide {
grid-column: 1 / -1;
}
.fvsv-locked-results {
grid-template-columns: 1fr;
}
.fvsv-panel-head,
.fvsv-archive-head,
.fvsv-archive-row,
.fvsv-meta-row,
.fvsv-result-row {
flex-direction: column;
}
.fvsv-panel-head > p {
max-width: none;
text-align: left;
}
.fvsv-countdown-card {
grid-template-columns: 76px minmax(0, 1fr);
}
.fvsv-countdown-ring {
width: 76px;
height: 76px;
}
.fvsv-countdown-ring-center {
inset: 14px;
}
.fvsv-countdown-ring-center strong {
font-size: 22px;
}
.fvsv-result-main {
width: 100%;
display: grid;
grid-template-columns: 42px minmax(0, 1fr);
gap: 10px;
align-items: center;
}
.fvsv-result-graph {
width: 100%;
min-width: 0;
display: grid;
grid-template-columns: 70px minmax(0, 1fr);
gap: 10px;
align-items: center;
}
.fvsv-result-row {
align-items: stretch;
padding: 12px;
}
.fvsv-result-metrics {
text-align: left;
}
.fvsv-column-chart {
grid-template-columns: 1fr;
gap: 8px;
padding: 12px 10px;
}
.fvsv-column-item {
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
grid-template-rows: auto;
gap: 10px;
align-items: center;
justify-items: stretch;
}
.fvsv-column-value {
order: 3;
min-height: 0;
text-align: right;
font-size: 11px;
}
.fvsv-column-track {
order: 2;
height: 10px;
justify-content: flex-start;
align-items: center;
}
.fvsv-column-bar {
width: var(--fvsv-mobile-bar-width, 10px);
min-width: 10px;
height: 10px !important;
border-radius: 999px;
box-shadow: none;
}
.fvsv-column-label {
order: 1;
min-height: 0;
max-width: none;
font-size: 11px;
line-height: 1.2;
text-align: left;
}
.fvsv-column-label br {
display: none;
}
.fvsv-archive-person {
width: 100%;
}
.fvsv-archive-copy span {
white-space: normal;
}
.fvsv-vote-card,
.fvsv-mini-chart-card,
.fvsv-results-panel,
.fvsv-archive-card {
padding: 12px;
border-radius: 18px;
}
.fvsv-form-card {
padding: 12px;
}
.fvsv-ballot-card {
padding: 10px 8px;
}
.fvsv-ballot-copy {
padding-right: 52px;
}
}