* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial,
    sans-serif;
  line-height: 1.7;
  color: #2d3142;
  background: #f5f1ea;
  padding-top: 80px;
  scroll-padding-top: 100px;
}
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 2px 10px rgb(0 0 0 / 0.1);
  z-index: 1000;
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3em;
  font-weight: 700;
  color: #4a5568;
}
.logo-icon {
  width: 35px;
  height: 35px;
  background: #6b7aa1;
  border-radius: 8px;
}
nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
}
nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
  padding: 5px 10px;
  border-radius: 5px;
}
nav a:hover {
  color: #6b7aa1;
  background: #f5f1ea;
}
.hero-header {
  background: linear-gradient(135deg, #6b7aa1 0%, #4a5568 100%);
  color: #f5f1ea;
  padding: 60px 20px;
  text-align: center;
  margin-bottom: 0;
  border-bottom: 4px solid #c47c6e;
}
.hero-header h1 {
  font-size: 2.5em;
  font-weight: 700;
}
.adsense-container {
  text-align: center;
  margin: 20px auto;
  padding: 20px;
  width: 90%;
  max-width: 900px;
  background: #fff;
  border-radius: 2px;
  border: 1px solid #d4c5b9;
}
.adsense-top {
  margin-bottom: 30px;
}
.adsense-bottom {
  margin-top: 40px;
  margin-bottom: 0;
}
#table-wrapper {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}
.adsense-sidebar {
  flex: 0 0 160px;
  position: sticky;
  top: 100px;
  display: block;
}
@media (max-width: 1400px) {
  .adsense-sidebar {
    display: none;
  }
  #table-wrapper {
    justify-content: center;
  }
}
#background {
  display: none;
}
.main-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 40px 20px 0;
}
#table-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  margin-bottom: 40px;
}
#center-content {
  width: 100%;
  max-width: 1000px;
  background: #fff;
  border-radius: 2px;
  padding: 30px;
  border: 2px solid #d4c5b9;
}
.copy-tip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #8e9775;
  color: #fff;
  padding: 15px 20px;
  border-radius: 2px;
  margin-bottom: 20px;
  border-left: 4px solid #6b7aa1;
}
.filter-container {
  background: #fff;
  border: 2px solid #d4c5b9;
  border-left: 4px solid #6b7aa1;
  border-radius: 2px;
  padding: 20px;
  margin-bottom: 20px;
}
.filter-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #4a5568;
  margin-bottom: 12px;
  font-size: 1.05em;
}
.filter-icon {
  font-size: 1.3em;
}
.filter-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #d4c5b9;
  border-radius: 2px;
  font-size: 1em;
  transition: all 0.2s ease;
  outline: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #fafaf9;
}
.filter-input:focus {
  border-color: #6b7aa1;
  background: #fff;
}
.filter-input::placeholder {
  color: #999;
}
.filter-count {
  display: inline-block;
  margin-top: 10px;
  font-size: 0.9em;
  color: #5a5f73;
  font-weight: 500;
}
.copy-icon {
  font-size: 1.5em;
  animation: bounce 2s ease-in-out infinite;
}
.copy-text {
  font-size: 1em;
  line-height: 1.4;
}
#center-content table {
  border-collapse: collapse;
  width: 100%;
  border: 0 solid #000;
  text-align: center;
}
#center-content th {
  border: 0 solid #000;
  padding: 12px;
  background: linear-gradient(135deg, #6b7aa1 0%, #4a5568 100%);
  color: #f5f1ea;
  font-weight: 600;
}
#center-content td {
  border: 0 solid #000;
  padding: 10px;
  font-weight: 500;
  cursor: pointer;
  user-select: none;
}
#center-content td:active {
  transform: scale(0.98);
}
#description-container {
  background: #fff;
  border-radius: 2px;
  padding: 40px;
  margin-bottom: 40px;
  border: 2px solid #d4c5b9;
  position: relative;
  z-index: 1;
}
#description-container h2 {
  font-size: 2em;
  color: #4a5568;
  margin-bottom: 20px;
  border-left: 4px solid #c47c6e;
  padding-left: 20px;
}
#description-container h3 {
  font-size: 1.4em;
  color: #4a5568;
  margin-top: 30px;
  margin-bottom: 15px;
}
#description-container p {
  color: #3a3e4f;
  margin-bottom: 15px;
  text-align: left;
  line-height: 1.75;
}
#description-container ul {
  margin-left: 30px;
  margin-bottom: 15px;
}
#description-container li {
  color: #3a3e4f;
  margin-bottom: 8px;
}
#description-container pre {
  background: #f5f1ea;
  padding: 15px;
  border-radius: 2px;
  border-left: 4px solid #6b7aa1;
  border: 2px solid #d4c5b9;
  margin: 15px 0;
  font-family: "Courier New", monospace;
  font-size: 1em;
}
#description-container code {
  background: #f5f1ea;
  padding: 2px 6px;
  border-radius: 2px;
  font-family: "Courier New", monospace;
  color: #4a5568;
  border: 1px solid #d4c5b9;
}
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  display: none;
  background-color: #333;
  color: #fff;
  text-align: center;
  padding: 15px;
  z-index: 1000;
}
#cookie-banner a {
  color: #c47c6e;
  text-decoration: underline;
}
#accept-cookies {
  background: #8e9775;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin-left: 15px;
  border-radius: 2px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s ease;
}
#accept-cookies:hover {
  background: #6b7aa1;
}
#cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 / 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
#modal-content {
  background: #fff;
  padding: 40px;
  border-radius: 2px;
  max-width: 500px;
  position: relative;
  border: 2px solid #d4c5b9;
}
#modal-content h2 {
  color: #4a5568;
  margin-bottom: 20px;
}
#close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  cursor: pointer;
  color: #999;
}
#close-modal:hover {
  color: #333;
}
footer {
  background: linear-gradient(135deg, #4a5568 0%, #6b7aa1 100%);
  color: #e8dfd6;
  padding: 40px 20px 20px;
  margin-top: 0;
  border-top: 4px solid #c47c6e;
}
.footer-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}
.footer-logo {
  font-size: 1.8em;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}
.footer-content > p {
  color: #c4cad4;
  font-size: 1em;
  margin-bottom: 20px;
  line-height: 1.6;
}
.copyright {
  color: #95a5a6;
  font-size: 0.9em;
  padding-top: 20px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.cta-container {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 0 20px;
}
.cta-dual-container {
  max-width: 900px;
  margin: 0 auto 55px;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}
.cta-dual-container .cta-container {
  flex: 1;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.cta-dual-container .cta-content {
  height: 100%;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
}
.cta-content {
  background: #fff;
  border: 2px solid #d4c5b9;
  border-left: 5px solid #8e9775;
  border-radius: 2px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: all 0.25s ease;
  position: relative;
}
.cta-content:hover {
  border-left-color: #6b7aa1;
  box-shadow: 0 4px 16px rgb(107 122 161 / 0.12);
  transform: translateY(-2px);
}
.cta-text-wrapper {
  flex: 1;
  color: #2d3142;
  position: relative;
}
.cta-title {
  font-size: 1.45em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #4a5568;
  letter-spacing: -0.02em;
}
.cta-description {
  font-size: 0.98em;
  color: #5a5f73;
  line-height: 1.6;
  opacity: 1;
}
.cta-button {
  background: #6b7aa1;
  color: #fff;
  padding: 13px 26px;
  border-radius: 2px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  white-space: nowrap;
  border: 2px solid #6b7aa1;
  position: relative;
}
.cta-button:hover {
  background: #4a5568;
  border-color: #4a5568;
  transform: translateY(-1px);
}
@media (max-width: 768px) {
  .hero-header h1 {
    font-size: 1.8em;
  }
  .header-container {
    flex-direction: column;
    gap: 15px;
  }
  nav ul {
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
  }
  #center-content {
    padding: 20px;
  }
  #description-container {
    padding: 25px;
  }
  #description-container h2 {
    font-size: 1.5em;
  }
  .cta-dual-container {
    grid-template-columns: 1fr;
    padding: 0 20px;
    gap: 22px;
  }
  .cta-content {
    flex-direction: column;
    text-align: left;
    padding: 28px 24px;
    gap: 20px;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
  }
  .adsense-container {
    width: 95%;
    padding: 15px;
  }
  .cta-content {
    flex-direction: column;
    text-align: center;
    padding: 30px 20px;
    gap: 20px;
  }
  .cta-icon {
    font-size: 3em;
  }
  .cta-title {
    font-size: 1.4em;
  }
  .cta-description {
    font-size: 1em;
  }
  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 12px 25px;
    font-size: 1em;
  }
}
.inl-001 {
  display: block;
}
.inl-002 {
  display: none;
}
.inl-003 {
  margin: 15px 0;
}
.inl-004 {
  color: #999;
  text-decoration: none;
  margin: 0 10px;
}
.custom-tooltip .tooltip-icon {
  background: #fff;
  color: #6b7aa1;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
}
.custom-tooltip .tooltip-text {
  letter-spacing: 0.5px;
}

.copy-format-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
  padding: 6px 8px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0.08)
  );
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(4px);
}

.copy-format-label {
  font-size: 0.9em;
  font-weight: 600;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.copy-format-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  border: 1px solid #c9d2e8;
  border-radius: 10px;
  background-color: #ffffff;
  color: #23304f;
  padding: 10px 38px 10px 14px;
  font-size: 0.92em;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(35, 48, 79, 0.14);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7aa1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 14px;
}

.copy-format-select:hover {
  border-color: #9fb1d6;
  box-shadow: 0 4px 14px rgba(35, 48, 79, 0.2);
}

.copy-format-select:active {
  transform: translateY(1px);
}

.copy-format-select:focus {
  outline: none;
  border-color: #6b7aa1;
  box-shadow:
    0 0 0 3px rgba(107, 122, 161, 0.3),
    0 8px 20px rgba(35, 48, 79, 0.18);
}

@media (max-width: 768px) {
  .copy-tip {
    flex-direction: column;
    align-items: flex-start;
  }

  .copy-format-controls {
    margin-left: 0;
    width: 100%;
    border-radius: 12px;
    padding: 10px;
  }

  .copy-format-select {
    width: 100%;
    padding-right: 40px;
  }
}
