/* 国际区号底部弹层（三端通用，修复 iOS 点击无效） */
.jw-country-sheet {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: none;
  pointer-events: none;
}
.jw-country-sheet.show {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  pointer-events: auto;
}
.jw-country-sheet .jw-country-mask {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.45);
}
.jw-country-sheet .jw-country-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-height: 70vh;
  background: #fff;
  border-radius: 12px 12px 0 0;
  padding: 0 0 env(safe-area-inset-bottom, 0);
  display: flex;
  flex-direction: column;
  touch-action: manipulation;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}
.jw-country-sheet .jw-country-hd {
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  padding: 14px 16px;
  border-bottom: 1px solid #f0f0f0;
  flex-shrink: 0;
}
.jw-country-sheet .jw-country-list {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.jw-country-sheet .jw-country-item {
  display: flex;
  align-items: center;
  width: 100%;
  border: none;
  background: #fff;
  padding: 14px 20px;
  font-size: 15px;
  text-align: left;
  border-bottom: 1px solid #f5f5f5;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(255, 107, 0, 0.15);
}
.jw-country-sheet .jw-country-item:active {
  background: #fff3e8;
}
.jw-country-sheet .jw-country-item-on {
  background: #fff7f0;
}
.jw-country-sheet .jw-country-item-flag {
  font-size: 20px;
  margin-right: 10px;
  pointer-events: none;
}
.jw-country-sheet .jw-country-item-name {
  flex: 1;
  color: #333;
  pointer-events: none;
}
.jw-country-sheet .jw-country-item-code {
  color: #999;
  font-size: 14px;
  pointer-events: none;
}
.jw-country-sheet .jw-country-cancel {
  border: none;
  background: #f5f5f5;
  margin: 8px 16px 16px;
  padding: 12px;
  border-radius: 8px;
  font-size: 15px;
  color: #666;
  cursor: pointer;
  touch-action: manipulation;
  flex-shrink: 0;
}
