/* IP Address Checker v2 */
.ipc { margin: 8px 0 24px; }
.ipc-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 13.5px;
  font-weight: 700;
  color: #6b6157;
  background: #fff4e6;
  border: 1.5px solid #221d18;
  border-radius: 12px;
}
.ipc-spinner {
  width: 16px;
  height: 16px;
  border: 2.5px solid #ffd9b3;
  border-top-color: #ff7a00;
  border-radius: 50%;
  animation: ipc-spin 0.7s linear infinite;
}
@keyframes ipc-spin { to { transform: rotate(360deg); } }
.ipc-main {
  padding: 18px 20px;
  background: #fff4e6;
  border: 1.5px solid #221d18;
  border-radius: 12px;
}
.ipc-main-head {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ipc-main-title { font-size: 13px; font-weight: 800; color: #6b6157; }
.ipc-badge {
  display: inline-block;
  padding: 2px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: #fff;
  background: #ff7a00;
  border-radius: 999px;
}
.ipc-copy {
  padding: 7px 16px;
  font-size: 12.5px;
  font-weight: 800;
  color: #fff;
  background: #ff7a00;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ipc-copy:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255, 122, 0, 0.4); }
.ipc-copy-done {
  margin-left: auto;
  font-size: 12px;
  font-weight: 800;
  color: #16a34a;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.ipc-copy-done.is-visible { opacity: 1; }
.ipc-ip {
  margin: 12px 0 0;
  font-family: Menlo, Consolas, "Hiragino Sans", monospace;
  font-size: 34px;
  font-weight: 800;
  line-height: 1.3;
  word-break: break-all;
}
.ipc-error {
  padding: 14px 18px;
  font-size: 13.5px;
  line-height: 1.7;
  color: #6b6157;
  background: #fffdf9;
  border: 1.5px dashed #221d18;
  border-radius: 12px;
}
.ipc-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 14px;
}
.ipc-card {
  min-width: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1.5px solid #221d18;
  border-radius: 12px;
}
.ipc-card-title { margin: 0 0 6px; font-size: 12px; font-weight: 800; color: #6b6157; }
.ipc-card-value {
  margin: 0;
  font-family: Menlo, Consolas, "Hiragino Sans", monospace;
  font-size: 13px;
  line-height: 1.6;
  word-break: break-all;
}
.ipc-card-value.is-empty { color: #a89d90; font-family: inherit; }
.ipc-actions { margin-top: 16px; text-align: center; }
.ipc-reload {
  padding: 10px 30px;
  font-size: 13.5px;
  font-weight: 800;
  color: #fff;
  background: #ff7a00;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ipc-reload:hover { transform: translateY(-1px); box-shadow: 0 3px 10px rgba(255, 122, 0, 0.4); }
.ipc-reload:disabled { opacity: 0.5; cursor: default; transform: none; box-shadow: none; }
@media (max-width: 768px) {
  .ipc-cards { grid-template-columns: 1fr; }
  .ipc-ip { font-size: 24px; }
  .ipc-main-head { flex-wrap: wrap; }
}
