﻿ 
  .lk-poll-create,
  .lk-poll-create * {
    box-sizing: border-box;
  }
  .lk-poll-create {
    --lk-card: #fff;
    --lk-soft: #f6fbf6;
    --lk-border: #dfe8df;
    --lk-text: #0b1b0b;
    --lk-muted: #667266;
    --lk-blue: #10243f;
    --lk-lemon: #fbd34a;
    --lk-lime: #37c977;
    width: min(100%, calc(100vw - 24px));
    max-width: 980px;
    min-width: 0;
    margin-inline: auto;
    padding: 24px;
    overflow: hidden;
    border: 1px solid var(--lk-border);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(55,201,119,.07), rgba(251,211,74,.05));
    color: var(--lk-text);
    box-shadow: 0 18px 45px rgba(16,36,63,.08);
  }
  .lk-poll-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
  }
  .lk-poll-title {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    color: var(--lk-blue);
  }
  .lk-poll-sub {
    margin: 6px 0 0;
    color: var(--lk-muted);
    font-size: 14px;
  }
  .lk-poll-quota {
    min-width: min(280px, 100%);
    padding: 12px;
    border: 1px solid var(--lk-border);
    border-radius: 8px;
    background: #fff;
  }
  .lk-poll-quota strong {
    color: var(--lk-blue);
  }
  .lk-poll-quota .bar-wrap {
    height: 9px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #edf4ed;
  }
  .lk-poll-quota .bar {
    height: 100%;
    background: linear-gradient(90deg, var(--lk-lime), var(--lk-lemon));
  }
  .lk-poll-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .8fr);
    gap: 16px;
    align-items: start;
  }
  .lk-poll-panel {
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--lk-border);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(16,36,63,.05);
  }
  .lk-poll-panel h3 {
    margin: 0 0 12px;
    font-size: 16px;
    color: var(--lk-blue);
  }
  .lk-poll-form {
    display: grid;
    gap: 14px;
  }
  .lk-poll-field {
    display: grid;
    gap: 7px;
    min-width: 0;
  }
  .lk-poll-field label,
  .lk-poll-check {
    font-weight: 700;
    font-size: 14px;
    color: var(--lk-blue);
  }
  .lk-poll-input,
  .lk-poll-select {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: 48px;
    padding: 10px 13px;
    border: 1px solid var(--lk-border);
    border-radius: 8px;
    background: #fff;
    color: var(--lk-text);
    font-size: 16px;
    outline: 0;
  }
  .lk-poll-input:focus,
  .lk-poll-select:focus {
    border-color: var(--lk-lime);
    box-shadow: 0 0 0 3px rgba(55,201,119,.18);
  }
  .lk-poll-options {
    display: grid;
    gap: 10px;
  }
  .lk-poll-opt {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 36px;
    gap: 10px;
    align-items: center;
  }
  .lk-poll-num,
  .lk-poll-remove {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
  }
  .lk-poll-num {
    font-weight: 800;
    color: #0d1b0d;
    background: linear-gradient(135deg, var(--lk-lemon), var(--lk-lime));
  }
  .lk-poll-remove {
    border: 1px solid var(--lk-border);
    background: #fff;
    color: var(--lk-blue);
    cursor: pointer;
  }
  .lk-poll-remove:focus-visible,
  .lk-poll-actions .btn:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(55,201,119,.18);
  }
  .lk-poll-input:disabled,
  .lk-poll-select:disabled,
  .lk-poll-remove:disabled {
    opacity: .65;
    cursor: not-allowed;
  }
  .lk-poll-remove[hidden] {
    display: none;
  }
  .lk-poll-settings {
    display: grid;
    gap: 12px;
  }
  .lk-poll-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.35;
  }
  .lk-poll-check input {
    width: 18px;
    height: 18px;
    margin-top: 1px;
    accent-color: var(--lk-lime);
  }
  .lk-poll-help {
    color: var(--lk-muted);
    font-size: 13px;
    line-height: 1.45;
  }
  .lk-poll-future {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px dashed var(--lk-border);
    border-radius: 8px;
    background: #fbfdfb;
    color: var(--lk-muted);
    font-size: 13px;
  }
  .lk-poll-future strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--lk-blue);
    font-size: 13px;
  }
  .lk-poll-future-badge {
    flex: 0 0 auto;
    padding: 4px 8px;
    border-radius: 999px;
    background: #eef4ee;
    color: var(--lk-muted);
    font-size: 12px;
    font-weight: 800;
  }
  .lk-poll-tip {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #eef4ee;
    color: var(--lk-blue);
    font-size: 12px;
    font-weight: 900;
    cursor: help;
  }
  .lk-poll-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
  }
  .lk-poll-actions .btn {
    border-radius: 8px;
    font-weight: 800;
  }
  .lk-poll-created {
    display: grid;
    gap: 14px;
    margin-bottom: 18px;
    padding: 16px;
    border: 1px solid rgba(55, 201, 119, .34);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(55,201,119,.12), rgba(251,211,74,.09));
  }
  .lk-poll-created h3 {
    margin: 0;
    color: var(--lk-blue);
    font-size: 18px;
  }
  .lk-poll-created p {
    margin: 4px 0 0;
    color: var(--lk-muted);
    font-size: 14px;
  }
  .lk-poll-share-link {
    display: grid;
    gap: 7px;
  }
  .lk-poll-share-link label {
    color: var(--lk-blue);
    font-size: 13px;
    font-weight: 800;
  }
  .lk-poll-share-url {
    width: 100%;
    min-width: 0;
    padding: 12px 13px;
    overflow-wrap: anywhere;
    border: 1px solid var(--lk-border);
    border-radius: 8px;
    background: #fff;
    color: var(--lk-blue);
    font-size: 14px;
  }
  .lk-poll-add {
    border: 1px solid var(--lk-border);
    background: #fff;
    color: var(--lk-blue);
  }
  .lk-poll-create .notice {
    margin: 0 0 14px;
  }
  @media (max-width: 760px) {
    html,
    body,
    .site-wrap,
    .main,
    .main-inner {
      max-width: 100%;
      overflow-x: hidden;
    }
    .lk-poll-create {
      width: min(100%, calc(100vw - 16px));
      padding: 16px;
    }
    .lk-poll-head,
    .lk-poll-grid {
      display: grid;
      grid-template-columns: minmax(0, 1fr);
    }
    .lk-poll-title {
      font-size: 24px;
    }
    .lk-poll-actions .btn {
      width: 100%;
      justify-content: center;
    }
  }

.lk-poll-missing{
  width:min(760px,calc(100vw - 28px));
  max-width:100%;
  margin:28px auto;
  padding:22px;
  border:1px solid rgba(15,23,42,.10);
  border-radius:8px;
  background:#fff;
  box-shadow:0 18px 44px rgba(15,23,42,.08);
}
.lk-poll-missing h1{
  margin:0 0 8px;
  color:#0f172a;
}
.lk-poll-missing p{
  margin:0;
  color:#475569;
  line-height:1.55;
}
.lk-poll-missing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:16px;
}
.lk-poll-view,
.lk-poll-view *{
  box-sizing:border-box;
}
.lk-poll-view{
  --lk-card:#fff;
  --lk-soft:#f6fbf6;
  --lk-border:#dfe8df;
  --lk-text:#0b1b0b;
  --lk-muted:#667266;
  --lk-blue:#10243f;
  --lk-lemon:#fbd34a;
  --lk-lime:#37c977;
  width:min(100%,calc(100vw - 24px));
  max-width:1040px;
  min-width:0;
  margin-inline:auto;
  padding:24px;
  overflow:hidden;
  border:1px solid var(--lk-border);
  border-radius:8px;
  background:linear-gradient(180deg,rgba(55,201,119,.07),rgba(251,211,74,.05));
  color:var(--lk-text);
  box-shadow:0 18px 45px rgba(16,36,63,.08);
}
.lk-poll-top{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:16px;
  align-items:start;
  margin-bottom:18px;
}
.lk-poll-question{
  margin:0;
  font-size:30px;
  line-height:1.16;
  color:var(--lk-blue);
  overflow-wrap:anywhere;
}
.lk-poll-meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  margin-top:12px;
  color:var(--lk-muted);
  font-size:14px;
}
.lk-poll-badge{
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:4px 10px;
  border:1px solid var(--lk-border);
  border-radius:999px;
  background:#fff;
  color:var(--lk-blue);
  font-weight:800;
}
.lk-poll-badge.open{
  border-color:transparent;
  background:linear-gradient(135deg,var(--lk-lemon),var(--lk-lime));
  color:#0d1b0d;
}
.lk-poll-share{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  justify-content:flex-end;
}
.lk-poll-share .btn,
.lk-poll-actions .btn{
  border-radius:8px;
  font-weight:800;
}
.lk-poll-view .lk-poll-grid{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(280px,.9fr);
  gap:16px;
  align-items:start;
}
.lk-poll-view .lk-poll-panel{
  min-width:0;
  padding:16px;
  border:1px solid var(--lk-border);
  border-radius:8px;
  background:#fff;
  box-shadow:0 10px 24px rgba(16,36,63,.05);
}
.lk-poll-view .lk-poll-panel h3{
  margin:0 0 12px;
  font-size:16px;
  color:var(--lk-blue);
}
.lk-vote-form{
  display:grid;
  gap:10px;
}
.lk-vote-option{
  display:grid;
  grid-template-columns:22px minmax(0,1fr);
  gap:12px;
  align-items:center;
  min-width:0;
  padding:13px;
  border:1px solid var(--lk-border);
  border-radius:8px;
  background:#fff;
  cursor:pointer;
  transition:border-color .15s,box-shadow .15s,transform .05s;
}
.lk-vote-option:hover{
  border-color:#cbd9cb;
  box-shadow:0 8px 20px rgba(16,36,63,.06);
}
.lk-vote-option:focus-within{
  border-color:var(--lk-lime);
  box-shadow:0 0 0 3px rgba(55,201,119,.18);
}
.lk-vote-option:has(input:checked){
  border-color:rgba(55,201,119,.72);
  background:linear-gradient(180deg,#fff,#f7fff9);
}
.lk-vote-option:active{
  transform:translateY(1px);
}
.lk-vote-option input{
  width:20px;
  height:20px;
  accent-color:var(--lk-lime);
}
.lk-vote-option span{
  min-width:0;
  overflow-wrap:anywhere;
  font-weight:700;
}
.lk-poll-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  margin-top:4px;
}
.lk-result-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}
.lk-total{
  color:var(--lk-muted);
  font-size:14px;
  white-space:nowrap;
}
.lk-live-results{
  display:grid;
  gap:10px;
  min-width:0;
}
.lk-result-row{
  display:grid;
  gap:6px;
  min-width:0;
}
.lk-result-line{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:12px;
  min-width:0;
}
.lk-result-label{
  min-width:0;
  overflow-wrap:anywhere;
  font-weight:800;
  color:var(--lk-blue);
}
.lk-result-number{
  color:var(--lk-muted);
  font-variant-numeric:tabular-nums;
  white-space:nowrap;
}
.lk-meter{
  height:12px;
  overflow:hidden;
  border-radius:999px;
  background:#edf4ed;
}
.lk-meter span{
  display:block;
  height:100%;
  width:0;
  border-radius:inherit;
  background:linear-gradient(90deg,var(--lk-lime),var(--lk-lemon));
  transition:width .25s ease;
}
.lk-poll-note{
  color:var(--lk-muted);
  font-size:14px;
  line-height:1.45;
}
.lk-poll-view .notice{
  margin:0;
}
#vote-msg{
  display:grid;
  gap:8px;
}
@media(max-width:760px){
  html,
  body,
  .site-wrap,
  .main,
  .main-inner{
    max-width:100%;
    overflow-x:hidden;
  }
  .lk-poll-view{
    width:min(100%,calc(100vw - 16px));
    padding:16px;
  }
  .lk-poll-top,
  .lk-poll-view .lk-poll-grid{
    grid-template-columns:minmax(0,1fr);
  }
  .lk-poll-share{
    justify-content:flex-start;
  }
  .lk-poll-question{
    font-size:24px;
  }
}
@media(max-width:560px){
  .lk-poll-missing-actions{
    display:grid;
  }
  .lk-poll-missing-actions .btn{
    width:100%;
  }
}


