
.avm-vote-wrap {
  --avm-ink: #15233b;
  --avm-muted: #69717d;
  --avm-line: #cfd3d8;
  --avm-gold: #9a8150;
  --avm-soft: #f7f5f0;
  --avm-paper: #fff;
  max-width: 760px;
  margin: 0 auto;
  padding: 28px 18px 36px;
  color: var(--avm-ink);
  box-sizing: border-box;
}

.avm-vote-header {
  max-width: 680px;
  margin: 0 auto 42px;
  text-align: center;
}

.avm-vote-kicker {
  margin: 0 0 12px;
  color: var(--avm-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .24em;
  line-height: 1.4;
}

.avm-vote-title {
  margin: 0;
  color: var(--avm-ink);
  font-family: Georgia, "Times New Roman", "Noto Serif JP", "Yu Mincho", YuMincho, serif;
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1.5;
}

.avm-vote-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 150px;
  margin: 22px auto 20px;
}

.avm-vote-rule::before,
.avm-vote-rule::after {
  content: "";
  display: block;
  flex: 1 1 auto;
  height: 1px;
  background: var(--avm-gold);
  opacity: .55;
}

.avm-vote-rule > span {
  display: block;
  width: 5px;
  height: 5px;
  background: var(--avm-gold);
  transform: rotate(45deg);
}

.avm-vote-description,
.avm-vote-message {
  margin: 0;
  color: var(--avm-muted);
  font-size: 14px;
  line-height: 2;
  letter-spacing: .02em;
}

.avm-vote-form {
  margin: 0;
}

.avm-public-vote .avm-vote-options {
  display: grid;
  gap: 0;
  max-width: 680px;
  margin: 0 auto;
  border-top: 1px solid var(--avm-line);
}

.avm-public-vote .avm-vote-option {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 18px;
  min-height: 82px;
  margin: 0;
  padding: 15px 12px 15px 4px;
  border: 0;
  border-bottom: 1px solid var(--avm-line);
  border-radius: 0;
  background: transparent;
  color: var(--avm-ink);
  cursor: pointer;
  transition: background-color .18s ease, padding-left .18s ease;
  box-sizing: border-box;
}

.avm-public-vote .avm-vote-option:hover {
  background: rgba(154, 129, 80, .06);
  padding-left: 10px;
}

.avm-public-vote .avm-vote-option.is-selected {
  background: var(--avm-soft);
}

.avm-public-vote .avm-vote-option input[type="radio"] {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.avm-vote-choice-no {
  color: var(--avm-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  letter-spacing: .08em;
  text-align: center;
}

.avm-public-vote .avm-vote-option-label {
  display: block;
  color: var(--avm-ink);
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, Georgia, serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.65;
  letter-spacing: .025em;
}

.avm-vote-choice-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid #9ba1a9;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
  transition: border-color .18s ease, background-color .18s ease;
}

.avm-vote-choice-mark > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: transparent;
  transition: background-color .18s ease;
}

.avm-vote-option.is-selected .avm-vote-choice-mark {
  border-color: var(--avm-gold);
}

.avm-vote-option.is-selected .avm-vote-choice-mark > span {
  background: var(--avm-gold);
}

.avm-vote-submit-wrap {
  margin: 38px 0 0;
  text-align: center;
}

.avm-vote-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 250px;
  min-height: 58px;
  padding: 14px 34px;
  border: 1px solid var(--avm-ink);
  border-radius: 0;
  background: var(--avm-ink);
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: .08em;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}

.avm-vote-submit:hover {
  background: #fff;
  color: var(--avm-ink);
}

.avm-vote-submit-en {
  padding-left: 14px;
  border-left: 1px solid rgba(255,255,255,.35);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  letter-spacing: .18em;
}

.avm-vote-submit:hover .avm-vote-submit-en {
  border-left-color: rgba(21,35,59,.35);
}

.avm-vote-complete {
  max-width: 680px;
  padding-top: 56px;
  padding-bottom: 56px;
  text-align: center;
}

.avm-vote-complete .avm-vote-message {
  margin-top: 0;
}

@media (max-width: 767px) {
  .avm-vote-wrap {
    padding: 18px 8px 30px;
  }

  .avm-vote-header {
    margin-bottom: 30px;
  }

  .avm-vote-kicker {
    margin-bottom: 9px;
    font-size: 10px;
  }

  .avm-vote-title {
    font-size: 25px;
    line-height: 1.55;
  }

  .avm-vote-rule {
    width: 120px;
    margin: 18px auto 16px;
  }

  .avm-vote-description,
  .avm-vote-message {
    font-size: 13px;
    line-height: 1.85;
  }

  .avm-public-vote .avm-vote-option {
    grid-template-columns: 42px minmax(0, 1fr) 28px;
    gap: 10px;
    min-height: 72px;
    padding: 12px 5px 12px 0;
  }

  .avm-public-vote .avm-vote-option:hover {
    padding-left: 0;
  }

  .avm-vote-choice-no {
    font-size: 15px;
  }

  .avm-public-vote .avm-vote-option-label {
    font-size: 16px;
    line-height: 1.6;
  }

  .avm-vote-choice-mark {
    width: 23px;
    height: 23px;
  }

  .avm-vote-submit-wrap {
    margin-top: 30px;
  }

  .avm-vote-submit {
    width: 100%;
    min-width: 0;
    min-height: 54px;
  }
}

/* Staff paper-vote mode */
.avm-paper-mode {
  max-width: 760px;
}

.avm-paper-mode-badge {
  display: inline-block;
  margin-bottom: 12px;
  padding: 5px 9px;
  border-radius: 999px;
  background: #1d2327;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .03em;
}

.avm-paper-mode .avm-vote-title {
  font-family: inherit;
  font-size: 28px;
  font-weight: 700;
}

.avm-ticket-number {
  margin: 14px 0 20px;
  padding: 12px 14px;
  border: 2px solid #1d2327;
  border-radius: 8px;
  background: #fff;
  font-size: 22px;
  font-weight: 800;
  line-height: 1.3;
}

.avm-paper-alert {
  margin: 0 0 18px;
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1.6;
}

.avm-paper-alert-success {
  border: 1px solid #00a32a;
  background: #edfaef;
  color: #006b1b;
}

.avm-paper-alert-error {
  border: 1px solid #d63638;
  background: #fcf0f1;
  color: #8a2424;
}

.avm-paper-mode .avm-vote-options {
  display: grid;
  gap: 12px;
}

.avm-paper-option {
  display: grid;
  grid-template-columns: auto 42px 1fr;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  border: 1px solid #d0d0d0;
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
}

.avm-paper-option input[type="radio"] {
  width: 20px;
  height: 20px;
  margin: 0;
}

.avm-paper-option-order {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f0f0f1;
  font-weight: 800;
}

.avm-paper-mode .avm-vote-option-label {
  font-family: inherit;
  font-size: 15px;
  line-height: 1.7;
}

.avm-paper-submit {
  min-width: 220px;
  border-radius: 6px;
  background: #2271b1;
}

.avm-paper-used-card {
  border: 2px solid #d63638;
  border-radius: 10px;
  padding: 18px;
  background: #fff;
}

.avm-paper-used-title {
  margin-bottom: 14px;
  color: #b32d2e;
  font-size: 24px;
  font-weight: 800;
}

.avm-paper-used-card dl {
  margin: 0;
}

.avm-paper-used-card dl > div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-top: 1px solid #eee;
}

.avm-paper-used-card dt {
  color: #646970;
  font-weight: 700;
}

.avm-paper-used-card dd {
  margin: 0;
  font-weight: 700;
}

.avm-paper-help {
  margin-top: 12px;
  color: #646970;
}

@media (max-width: 767px) {
  .avm-ticket-number {
    font-size: 20px;
  }

  .avm-paper-submit {
    width: 100%;
  }
}
