.toge-vote {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.toge-vote .tv-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1.5fr 1fr;
}

@media (max-width: 980px){
  .toge-vote .tv-grid{
    grid-template-columns: 1fr;
  }
}

.toge-vote .tv-card {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  padding: 14px;
  background: #fff;
}

.toge-vote .tv-note {
  opacity: .8;
  margin-top: 6px;
}

.toge-vote .tv-sub {
  opacity: .75;
  margin-top: 6px;
}

.toge-vote .tv-map-wrap svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

.toge-vote .tv-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 12px;
}

.toge-vote .tv-btn {
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
}

.toge-vote .tv-btn:hover {
  background: rgba(0,0,0,.03);
}

.toge-vote .tv-primary {
  border-color: rgba(0,0,0,.25);
  font-weight: 700;
}

.toge-vote .tv-message {
  margin-top: 10px;
  font-weight: 700;
}

.toge-vote .tv-results-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.toge-vote .tv-xtext {
  width: 100%;
  height: 150px;
  margin-top: 10px;
}

.toge-vote .tv-credit {
  margin-top: 12px;
  opacity: .75;
}

.toge-vote .tv-missing {
  padding: 12px;
  border: 1px solid rgba(255,0,0,.2);
  background: rgba(255,0,0,.05);
  border-radius: 8px;
  font-size: 14px;
}

/* Tooltip */
.toge-vote .tv-tooltip{
  position: absolute;
  z-index: 9999;
  background: rgba(20,20,20,.92);
  color: #fff;
  padding: 8px 10px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.35;
  opacity: 0;
  transition: opacity .12s ease;
  max-width: 280px;
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

/* Picker */
.toge-vote .tv-picker{
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,.45);
  padding: 16px;
}

.toge-vote .tv-picker.is-open{
  display: flex;
}

.toge-vote .tv-picker-inner{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,.22);
}

.toge-vote .tv-picker-title{
  font-weight: 800;
  margin-bottom: 10px;
}

.toge-vote .tv-picker-options{
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

/* 日本地図 + イタリア小窓 */
.toge-vote .tv-map-stack{
  position: relative;
}

.toge-vote .tv-map-it-mini{
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 150px;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  cursor: pointer;
}

.toge-vote .tv-map-it-mini svg{
  width: 100%;
  height: auto;
  display: block;
}

.toge-vote .tv-map-it-label{
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

/* Geolonia地図の hover 感を少し足す */
.toge-vote .geolonia-svg-map .prefecture {
  transition: opacity .15s ease, fill .15s ease;
  cursor: pointer;
}

.toge-vote .geolonia-svg-map .prefecture:hover {
  opacity: .8;
}

/* イタリア小窓 hover */
.toge-vote .tv-map-it-mini:hover{
  transform: translateY(-1px);
}

/* スマホ */
@media (max-width: 980px){
  .toge-vote .tv-map-it-mini{
    width: 110px;
    right: 8px;
    bottom: 8px;
    padding: 6px;
  }

  .toge-vote .tv-map-it-label{
    font-size: 11px;
  }

  .toge-vote .tv-selected{
    flex-direction: column;
    align-items: flex-start;
  }

  .toge-vote .tv-selected #tv-cast{
    width: 100%;
  }
}