*,
*::before,
*::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

ul,
li,
p,
body,
h1,
h2,
h3,
h4 {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

a {
  text-decoration: none;
}

img {
  border: none;
}

body {
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-weight: 400;
}

.wrapper {
  width: 960px;
  margin: 0 auto;
  position: relative;
}

.header {
  width: 100%;
  min-width: 1060px;
  height: 130px;
  padding: 17px 0 43px;
  position: relative;
}

.share {
  text-align: center;
  margin: 15px 0;
  display: flex;
  justify-content: center;
  gap: 16px;
}

.share a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: none;
  text-align: center;
  border-radius: 0;
  transition: all 0.2s ease;
}

.share .icon {
  vertical-align: middle;
  fill: #999;
  width: 20px;
  height: 20px;
  transition: fill 0.2s ease;
}

.share a:hover .icon {
  fill: #333;
}

.share a.fb:hover .icon { fill: #1877f2; }
.share a.insta:hover .icon { fill: #c13584; }
.share a.tw:hover .icon { fill: #000; }

#logo {
  width: 320px;
  height: 70px;
  margin: 0 auto;
}

.search {
  position: absolute;
  bottom: -25px;
  left: 50%;
  margin-left: -258px;
  z-index: 999;
  width: 516px;
  height: 50px;
}

#results {
  display: none;
  position: absolute;
  top: 50px;
  left: 25px;
  z-index: 999;
  width: 466px;
  border-radius: 0 0 7px 7px;
  box-shadow: 0 3px 8px -2px rgba(0, 0, 0, 0.5);
}

.result {
  padding: 2px 10px;
  background: #fff;
}

.result:hover {
  background: #eee;
}

.result:last-child {
  border-radius: 0 0 5px 5px;
}

.result a {
  display: block;
  color: #000;
}

.result a strong {
  font-size: 15px;
  font-weight: 400;
}

.result a span {
  float: right;
  color: #0181ca;
  font-size: 15px;
}

#mainform {
  display: block;
  position: relative;
  width: 516px;
  height: 50px;
  background-color: #fff;
  box-shadow: 0px 1px 10px -2px rgba(67, 91, 105, 0.8),
    0px 4px 10px -3px rgba(67, 91, 105, 0.8);
  padding-left: 24px;
  padding-right: 64px;
  border-radius: 30px;
  font-size: 1.14em;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#mainform:hover {
  transform: translateY(-2px);
  box-shadow: 0px 3px 14px -1px rgba(67, 91, 105, 0.7),
    0px 6px 14px -2px rgba(67, 91, 105, 0.7);
}

input.search-box {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  font-size: 1em;
  font-weight: normal;
  color: #333;
  display: block;
  width: 100%;
  background: none;
  outline: none;
  border: none;
  padding: 0;
  height: 50px;
  z-index: 1;
}

input.search-box::placeholder {
  color: #636363;
  font-size: 0.9em;
  padding-left: 2px;
}

.clear-button {
  border: 0;
  display: none;
  background-color: white;
  position: absolute;
  top: 4px;
  right: 50px;
  left: auto;
  z-index: 2;
  outline: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  text-align: center;
}

.active .clear-button {
  display: inline-block;
}

.shape-close {
  width: 14px;
}

.active .search-button {
  background-color: #00a2ff;
}

.search-button {
  border: 0;
  display: inline-block;
  background-color: white;
  position: absolute;
  top: 4px;
  right: 5px;
  left: auto;
  z-index: 2;
  outline: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  text-align: center;
  border-radius: 50%;
  transition: all 0.4s ease;
}

.shape-search {
  fill: #999;
  width: 20px;
  transition: all 0.4s ease;
}

.active .shape-search {
  fill: white;
}

.blue-bg {
  width: 100%;
  min-width: 1060px;
  height: 152px;
  padding-top: 38px;
  background: #00a2ff;
  box-shadow: inset 0px 4px 5px #0181ca, inset 0px -4px 5px #0181ca;
}

ul.sindex {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 100%;
  max-width: 860px;
  margin: 0 auto;
  padding: 0;
}

ul.sindex li {
  display: inline-block;
  margin: 0;
}

ul.sindex li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  letter-spacing: 0.03em;
  transition: background 0.16s ease, color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease;
}

ul.sindex li a:hover {
  background: #fff;
  color: #00a2ff;
  border-color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.22);
}


.content-wrap {
  width: 1060px;
  margin: 0 auto;
}

.content {
  width: 960px;
  margin: -80px auto 0;
  color: #454545;
  font-size: 18px;
  padding: 10px 10px 20px;
  border-radius: 4px;
  z-index: 997;
  background: #fff;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.24);
  position: relative;
}

.th-tooltip {
  position: relative;
  cursor: help;
}
.th-tooltip::after {
  content: attr(data-tip);
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: #374151;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
  z-index: 999;
  box-shadow: 0 4px 16px rgba(0,0,0,.12);
  border: 1px solid #e5e7eb;
  opacity: 0;
  visibility: hidden;
  transition: opacity .15s ease, visibility .15s ease;
  pointer-events: none;
}
.th-tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
.content.index-page {
  width: 960px;
  font-size: 15px;
  padding: 0;
  overflow: visible;
}

.content.page {
  width: 960px;
  font-size: 15px;
  padding: 25px;
}

.content.about-page {
  width: 960px;
  font-size: 16px;
  padding: 35px 45px 35px;
  font-family: 'Source Sans Pro', sans-serif;
  color: #333;
  line-height: 1.7;
  letter-spacing: 0.2px;
}

.page h1 {
  width: 646px;
  margin: 0 auto 15px;
  height: 30px;
  line-height: 30px;
  font-size: 16px;
  text-align: center;
  border: 1px solid #09f;
  border-radius: 5px;
  color: #2e2e2e;
}

.about-page h1 {
  font-size: 24px;
  font-weight: 300;
  color: #222;
  text-align: center;
  margin: 0 auto 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #09f;
  width: fit-content;
  min-width: 120px;
  letter-spacing: 1px;
}

.page p {
  margin-bottom: 16px;
  text-align: justify;
}

.about-page p {
  margin-bottom: 18px;
  text-align: justify;
  color: #555;
}

.about-page a {
  color: #09f;
  transition: color 0.2s ease;
}

.about-page a:hover {
  color: #007acc;
}

.page h2 {
  margin-top: 15px;
  font-size: 16px;
}

.about-page h2 {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 28px 0 10px;
}

.about-page h2:first-of-type {
  margin-top: 0;
}

.page ul,
.about-page ul {
  list-style-type: disc;
  padding-left: 40px;
  margin: 10px 0;
}

.page ul li,
.about-page ul li {
  text-align: justify;
}

.about-note {
  margin-top: 24px;
  padding: 16px 20px;
  background: #f8f9fa;
  border-left: 3px solid #09f;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: #555;
  line-height: 1.8;
}

.about-trademark {
  text-align: center;
  color: #bbb;
  font-size: 12px;
  font-family: 'Source Sans Pro', sans-serif;
  margin: 20px 0 0;
  padding-top: 16px;
  border-top: 1px solid #eee;
  letter-spacing: 0.3px;
}

.content-left {
  float: left;
  width: 580px;
}

.content-right {
  width: 336px;
  float: right;
}

.content-box {
  background: #fff;
  padding: 14px;
  border-radius: 10px;
  box-shadow: 1px 1px 9px -1px rgba(0, 0, 0, 0.36);
}

.content-box table {
  border-spacing: 0px;
}

.content-box table td {
  vertical-align: top;
  padding: 6px 0;
}

.blue {
  color: #00a2ff;
}

.bold {
  font-weight: bold;
}

.arial {
  font-family: Arial, sans-serif;
  font-size: 17px;
}

.content-left h2 {
  font-size: 20px;
  line-height: 48px;
  padding-left: 10px;
  margin-bottom: 4px;
}

.content-left p {
  text-align: left;
  padding-left: 10px;
  font-size: 16px;
  line-height: 26px;
}

.search-image {
  float: left;
  max-width: 150px;
  margin: 11px 9px 8px 0;
}

.share-box {
  width: 100px;
  min-height: 24px;
  margin: 15px 0;
  color: #767676;
  font-size: 16px;
  line-height: 23px;
  float: left;
}

.share-box span {
  padding: 4px 0 4px 12px;
  display: block;
  transition: all 0.3s linear;
  cursor: pointer;
}

.share-box .icon {
  font-size: 21px;
  vertical-align: top;
  transition: all 0.3s linear;
}

.share-box span:hover {
  color: #808080;
}

.share-box span:hover .icon {
  fill: #0099ff;
}

.reference {
  float: right;
  min-width: 105px;
  height: 32px;
  margin: 15px 0;
  font-size: 15px;
  padding: 4px 0 4px 10px;
}

.reference a {
  line-height: 20px;
  display: block;
  transition: all 0.3s linear;
}

.reference svg {
  width: 18px;
  height: 18px;
  vertical-align: top;
  margin-right: 2px;
  transition: all 0.3s linear;
}

.reference a:hover {
  color: #808080;
}

.reference a:hover svg {
  fill: #0099ff;
}

.reference a {
  color: #767676;
}

.fullforms {
  font-weight: bold;
}

.fullforms span {
  color: #0099ff;
}

table.table-wrap,
table.t-head {
  border-collapse: collapse;
  border-spacing: 0px;
  width: 940px;
}

.table-wrap tbody td {
  min-height: 44px;
  line-height: 25px;
}

table.table-wrap tr {
  width: 100%;
}

table.table-wrap tr:nth-child(even) {
  background: #e6e5e5;
}

table.table-wrap tr:hover {
  background: #b8e5ff;
}

table.table-wrap tr td:first-child {
  border-radius: 6px 0 0 6px;
}

table.table-wrap tr td:last-child {
  border-radius: 0 6px 6px 0;
}

/*table.table-wrap tbody tr:hover{
	border: 2px solid #cccccc;
}*/
table.table-wrap tbody tr:hover td {
  min-height: 40px;
}

table.table-wrap tbody tr td a {
  display: block;
  color: #454545;
}

/*table.table-wrap tbody tr td a:visited{
	color: #999;
}*/
table.table-wrap tbody tr td a:hover {
  color: #454545;
}

/* Results caption */
.results-caption {
  font-size: 14px;
  color: #6b7280;
  text-align: center;
  padding: 8px 0 12px;
  font-weight: 500;
}
.results-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  background: #00a2ff;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  border-radius: 13px;
  margin-right: 4px;
}
.results-caption strong {
  color: #1a1a2e;
}

/* Filter bar */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f8f9fa;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  margin-bottom: 12px;
}
.filter-bar__group {
  display: flex;
  align-items: center;
  gap: 6px;
}
.filter-bar__group:first-child {
  padding-right: 12px;
  border-right: 1px solid #e0e0e0;
}
.filter-bar__label {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .5px;
  white-space: nowrap;
}
.filter-bar__search {
  margin-left: auto;
  position: relative;
}

/* Sort pills */
.sort-pill {
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  transition: all .2s ease;
  outline: none;
}
.sort-pill:hover {
  border-color: #00a2ff;
  color: #00a2ff;
  background: #f0f8ff;
}
.sort-pill.is-checked {
  background: #00a2ff;
  color: #fff;
  border-color: #00a2ff;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,162,255,.2);
}

/* Filter selects */
.filter-select {
  padding: 6px 28px 6px 12px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%236b7280'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 8px;
  transition: all .2s ease;
  /* Firefox: remove native dropdown arrow */
  text-indent: 0.01px;
  text-overflow: '';
}
/* Firefox-specific: hide native arrow */
.filter-select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #4b5563;
}
.filter-select:hover {
  border-color: #00a2ff;
}
.filter-select:focus {
  border-color: #00a2ff;
  box-shadow: 0 0 0 3px rgba(0,162,255,.1);
}
/* Custom dropdown */
.custom-dropdown {
  position: relative;
  display: inline-block;
}
.custom-dropdown__toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  background: #fff;
  color: #4b5563;
  cursor: pointer;
  outline: none;
  transition: all .2s ease;
  white-space: nowrap;
}
.custom-dropdown__toggle:hover {
  border-color: #00a2ff;
  color: #00a2ff;
}
.custom-dropdown__toggle svg {
  transition: transform .2s ease;
}
.custom-dropdown.open .custom-dropdown__toggle {
  border-color: #00a2ff;
  box-shadow: 0 0 0 3px rgba(0,162,255,.1);
}
.custom-dropdown.open .custom-dropdown__toggle svg {
  transform: rotate(180deg);
}
.custom-dropdown.active .custom-dropdown__toggle {
  border-color: #00a2ff;
  color: #00a2ff;
  background: #eaf6ff;
  font-weight: 600;
  padding-right: 8px;
}
.custom-dropdown__clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: none;
  border-radius: 50%;
  background: rgba(0,162,255,.15);
  color: #00a2ff;
  cursor: pointer;
  padding: 0;
  margin-left: -4px;
  margin-right: 4px;
  transition: background .2s ease;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
}
.custom-dropdown__clear:hover {
  background: rgba(0,162,255,.25);
}
.custom-dropdown.active .custom-dropdown__clear {
  display: flex;
}
.custom-dropdown.active .custom-dropdown__toggle {
  padding-right: 28px;
}
.custom-dropdown.active .custom-dropdown__arrow {
  display: none;
}
.custom-dropdown__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 200px;
  max-height: 280px;
  overflow-y: auto;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
  z-index: 20;
  padding: 6px 0;
}
.custom-dropdown.open .custom-dropdown__menu {
  display: block;
}
.custom-dropdown__item {
  padding: 8px 16px;
  font-size: 13px;
  color: #4b5563;
  cursor: pointer;
  transition: background .15s ease;
  white-space: nowrap;
}
.custom-dropdown__item:hover {
  background: #f0f4ff;
  color: #1a1a2e;
}
.custom-dropdown__item.is-selected {
  color: #00a2ff;
  font-weight: 600;
  background: #f0f8ff;
}

.filter-select.filter-active {
  border-color: #00a2ff;
  color: #00a2ff;
  background-color: #eaf6ff;
  box-shadow: 0 0 0 2px rgba(0, 162, 255, 0.15);
  font-weight: 600;
}

.filter-wrap {
  position: relative;
  display: inline-block;
  margin-right: 20px;
}

.filter-clear {
  display: none;
  position: absolute;
  right: -20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #999;
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.filter-clear:hover {
  color: #333;
}

.filter-clear.visible {
  display: inline-block;
}

.results-search-wrap {
  position: relative;
  display: inline-block;
}
.results-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid #d1d5db;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}
.results-search-toggle:hover {
  border-color: #00a2ff;
  background: #f0f8ff;
}
.results-search-toggle:hover svg {
  stroke: #00a2ff;
}
.results-search-field {
  display: flex;
  align-items: center;
  position: relative;
  width: 200px;
}
.results-search-field input {
  width: 100%;
  height: 32px;
  padding: 0 32px 0 12px;
  font-size: 13px;
  border: 1px solid #00a2ff;
  border-radius: 16px;
  background: #fff;
  color: #1f2937;
  outline: none;
  box-shadow: 0 0 0 3px rgba(0,162,255,.1);
}
.results-search-field input::placeholder {
  color: #9ca3af;
}
.results-search-close {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  padding: 0;
}
.results-search-close:hover {
  background: #d1d5db;
}

.pop {
  width: 9.57%;
}

.flag {
  width: 3.19%;
}

.short {
  width: 10%;
}

.cat {
  width: 47%;
}

.t-pop {
  padding: 0px 10px;
}

.pop-1 {
  width: 60px;
  height: 6px;
  background: #f3f3f3;
}

.popularity,
.pop-2 {
  width: 62px;
  height: 6px;
  background: #666666;
  display: inline-block;
  margin: 0 8px 2px 0;
}

.pop-2 {
  height: 8px;
}

.pop-bar {
  height: 100%;
  background: #00a2ff;
}

td.term-full {
  line-height: 19px;
  font-size: 17px;
  width: 30%;
  padding: 9px 0;
}

td.term-full a {
  line-height: 1;
}

td.term-full a span {
  font-size: 13px;
}

.cat-wrap {
  height: 50px;
  padding: 12px 0;
  position: relative;
}

.category1,
.category2 {
  font-size: 13px;
  height: 24px;
  line-height: 22px;
  float: left;
  background: #f8f8f8;
  border: 1px solid #e6e6e6;
  padding: 0 8px 0 10px;
  position: relative;
  border-radius: 2px;
}

.cat-wrap span {
  display: inline-block;
  max-width: 202px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: all 0.3s linear;
}

.category1 {
  border-right: 0;
}

.category2 {
  margin-left: -1px;
  border-left: 0;
}

.cat-arrow {
  position: absolute;
  top: -1px;
  z-index: 1;
}

.cat-arrow:first-child {
  left: 1px;
}

.cat-arrow:last-child {
  right: -1px;
}

.cat-arrow:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: -1px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 8px solid #e6e6e6;
}

.cat-arrow:after {
  content: "";
  display: block;
  position: absolute;
  top: 1px;
  left: -1px;
  width: 0;
  height: 0;
  border-top: 11px solid transparent;
  border-bottom: 11px solid transparent;
  border-left: 7px solid #f8f8f8;
}

.g-search {
  display: block;
  opacity: 0;
  z-index: 2;
  position: absolute;
  right: -5px;
  top: 50%;
  margin-top: -12px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  border-radius: 50%;
  background: #c9c9c9;
  transition: all 0.5s ease-out;
  text-align: center;
}

.g-search svg {
  fill: #fff;
}

.g-search:hover {
  background: #00a2ff;
}

table.table-wrap tr:hover .g-search {
  opacity: 1;
  right: -48px;
  transition: all 0.3s ease-out 0.3s;
}

table.table-wrap tr:hover .cat-wrap span {
  max-width: 160px;
}

.suggest-new {
  padding: 15px 0;
  text-align: center;
}

.suggest-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  text-align: center;
  padding: 0 16px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  color: #4b5563;
  font: 600 13px/40px inherit;
  transition: all 0.2s ease;
}

.suggest-btn .icon {
  fill: #83c000;
  font-size: 18px;
}

.suggest-btn:hover {
  background: #f0fdf4;
  border-color: #83c000;
  color: #374151;
}

.faq-section h3 {
  font-size: 15px;
  padding: 10px 24px 6px;
  display: block;
  font-weight: 600;
  color: #1e293b;
  text-align: left;
}

.faq-section h2.section-title {
  text-align: left;
  color: #1e293b;
  font-size: 17px;
  font-weight: 600;
  padding: 16px 24px 10px;
  background: none;
  border-bottom: none;
}

.faq-section p {
  font-size: 14px;
  margin-bottom: 16px;
  padding: 0 24px;
  line-height: 1.5;
}

.faq-section p a {
  color: #00598e;
  text-decoration: none;
  transition: color .2s;
}

.faq-section p a:hover {
  color: #00a2ff;
}

.faq-section,
.terms-wrap {
  width: 930px;
  border: 1px solid #e8eaed;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  border-spacing: 0;
  margin: 0 auto 34px;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
}

.translations-wrap {
  padding: 0 10px;
  margin-bottom: 34px;
}

.translation-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}

.translations-wrap h2.title {
  text-align: left;
  color: #1e293b;
  font-weight: 700;
  font-size: 20px;
  margin: 0;
}

.icon-translate {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(30, 95, 153, 0.25));
}

.translations-wrap .sub-title {
  font-weight: 500;
  color: #64748b;
  font-size: 15px;
  margin: 0 0 18px;
}

.translations-wrap select {
  width: 100%;
  max-width: 260px;
  padding: 10px 14px;
  font-family: inherit;
  font-size: 15px;
  color: #334155;
  background-color: #fff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%2394a3b8%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  margin-bottom: 24px;
}

.translations-wrap select:focus {
  outline: none;
  border-color: #00a2ff;
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.15);
}

.translation-loading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #0369a1;
  font-weight: 500;
  margin-bottom: 12px;
}

.translation-spinner {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid #bae6fd;
  border-top-color: #0369a1;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.translations-wrap select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.translation-result {
  position: relative;
  margin-bottom: 12px;
  padding: 12px 40px 12px 16px;
  background-color: #f8fafc;
  border-left: 3px solid #00a2ff;
  border-radius: 0 6px 6px 0;
  transition: background-color 0.2s ease;
}

.translation-result:hover {
  background-color: #f1f5f9;
}

.translation-copy {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.translation-copy-label {
  font-size: 12px;
  font-weight: 500;
}

.translation-result:hover .translation-copy {
  opacity: 1;
}

.translation-copy:hover {
  color: #0369a1;
  background-color: #e0f2fe;
}

.translation-copy.copied {
  color: #16a34a;
  opacity: 1;
}

.translation-result>span {
  display: inline-block;
  padding: 3px 8px;
  font-weight: 600;
  border-radius: 12px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
  margin-bottom: 6px;
}

.translation-result>div {
  font-weight: 600;
  font-size: 16px;
  color: #1e293b;
  margin-top: 2px;
}

.similar-terms {
  width: 50%;
  float: left;
}

.similar-terms li {
  margin: 12px 0;
}

.similar-terms a {
  display: table-row;
  line-height: 1.2;
}

.similar-terms a span {
  display: table-cell;
}

.similar-terms a span:first-child {
  white-space: nowrap;
}

.similar-terms a span:last-child {
  padding-left: 4px;
}

.nearby-terms {
  box-sizing: border-box;
  width: 50%;
  float: left;
}

.faq-section h2.section-title {
  background: none;
  padding: 16px 24px 10px;
  margin: 0;
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  border-bottom: none;
}
.terms-wrap h2 {
  background: #f2f2f2;
  padding: 8px 20px;
  margin: 0;
  font-weight: 500;
  font-size: 16px;
  line-height: 25px;
  border-bottom: 1px solid #e7e7e7;
}

.terms-wrap ul li a {
  color: #454545;
}

.terms-wrap ul {
  padding: 4px 10px;
  font-size: 14px;
  line-height: 31px;
}

.terms-wrap:after {
  content: "";
  display: block;
  position: absolute;
  width: 1px;
  height: 100%;
  left: 50%;
  top: 0;
  background: #e7e7e7;
}

.terms-wrap .similar-terms ul {
  padding-left: 20px;
}

.terms-wrap .nearby-terms ul li {
  float: left;
}

.nearby-terms ul li {
  margin: 0 10px;
}

.index-table {
  width: 100%;
  padding: 0;
  border: none;
  border-collapse: collapse;
  border-spacing: 0;
}

.index-table thead tr {
  background: #f5f7f9;
  color: rgba(0, 0, 0, 0.6);
}

.index-table thead tr th {
  font-weight: 600;
  padding: 18px 2px;
  font-size: 12px;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: sticky;
  top: 0;
  z-index: 10;
  background: #f5f7f9;
  box-shadow: 0 1px 0 #e0e0e0;
}

.index-table thead .tP {
  padding: 0 16px 0 20px;
  min-width: 104px;
}

.index-table thead .tC {
  padding: 0 2px 0 12px;
  min-width: 90px;
  text-align: center;
}

.index-table thead .tT {
  padding: 10px 15px;
  min-width: 90px;
  text-align: center;
}

.index-table thead .tD {
  padding: 10px;
}

.index-table thead .tMCat {
  padding: 10px 6px 10px 10px;
  text-align: right;
  min-width: 150px;
}

.index-table thead .tSCat {
  text-align: left;
  padding: 10px 10px 10px 6px;
  width: 122px;
}

.index-table thead .tSCat span {
  display: inline-flex;
  align-items: center;
  gap: 0;
}

.index-table thead .tSCat span:before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-top: 1.5px solid rgba(0, 0, 0, 0.3);
  border-right: 1.5px solid rgba(0, 0, 0, 0.3);
  transform: rotate(45deg);
  margin-right: 10px;
  flex-shrink: 0;
}

.index-table tbody tr {
  transition: background-color 0.15s ease;
}

.index-table tbody tr:hover {
  background-color: #f7fafc;
}

.index-table tbody tr td {
  padding: 15px 2px;
  font-size: 15px;
  text-align: left;
}

.index-table tbody .tP {
  padding-left: 20px;
}

.index-table tbody .tC {
  text-align: center;
}

.index-table tbody .tT {
  padding: 10px 15px;
  font-weight: bold;
  text-align: center;
}

.index-table tbody .tD {
  padding: 10px;
}

.index-table tbody .tCat {
  padding: 10px 15px 10px 10px;
  text-align: right;
}

.index-table tbody .tD a,
.index-table tbody .tT a {
  color: #1e5c80;
}

.table-pagination {
  padding: 22px 18px 20px;
}

.pagenumbers {
  color: #5d6265;
  display: inline-block;
  padding: 3px 8px;
  vertical-align: top;
  margin: 2px 1px;
  border-radius: 3px;
  font-size: 13px;
  transition: background 0.15s ease, color 0.15s ease;
}

.pagenumbers:hover {
  background: #e8f4fc;
  color: #00a2ff;
}

.next,
.prev {
  color: #5d6265;
  font-size: 22px;
  vertical-align: top;
  display: inline-block;
  text-align: center;
  width: 28px;
  height: 28px;
  line-height: 26px;
  border-radius: 3px;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0.5);
  margin-right: 10px;
  transition: background 0.15s ease, color 0.15s ease;
}

.next:not(.disabled):hover,
.prev:not(.disabled):hover {
  background: #00a2ff;
  color: #fff;
  box-shadow: 0 1px 4px rgba(0, 162, 255, 0.3);
}

.next {
  margin-left: 10px;
}

.next.disabled,
.prev.disabled {
  color: rgba(0, 0, 0, 0.17);
  cursor: default;
}

.pagination {
  text-align: center;
}

.pagination .current {
  color: #fff;
  display: inline-block;
  padding: 3px 8px;
  text-align: center;
  border-radius: 3px;
  background: #00a2ff;
  margin: 3px 2px;
  font-size: 13px;
  vertical-align: top;
}

.page-jump {
  font-size: 12px;
  height: 28px;
  margin-top: 8px;
  line-height: 2;
  text-align: center;
}

#slideout-menu {
  position: absolute;
  top: 0;
  left: -50px;
  width: 50px;
  font-size: 14px;
  border-bottom: 22px solid #a4a4a4;
  background: #a4a4a4;
  border-radius: 3px 0 0 3px;
  z-index: -2;
  transition: all 0.5s;
}

#menu-button {
  width: 50px;
  cursor: pointer;
  background: #666666;
  color: #fff;
  padding-left: 50px;
  height: 33px;
  line-height: 33px;
  overflow: hidden;
  z-index: -2;
  border-radius: 3px 0 0;
  border-bottom: 1px solid #2b2b2b;
  transition: all 0.5s;
}

#menu-button svg {
  position: absolute;
  left: 13px;
  top: 5px;
  width: 24px;
  height: 23px;
}

.side-menu li {
  width: 50px;
  overflow: hidden;
  z-index: -2;
  background: #d8d8d8;
  border-top: 1px solid #e9e9e9;
  border-bottom: 1px solid #b7b7b7;
  transition: all 0.5s;
}

.side-menu li:hover,
.active>.side-menu li:hover {
  background: #3c3e3f;
  border-top: 1px solid #686969;
  border-bottom: 1px solid #2b2b2b;
}

.side-menu li a {
  display: block;
  height: 38px;
  line-height: 38px;
  padding-left: 50px;
  color: #fff;
  position: relative;
}

.side-menu li a svg {
  position: absolute;
  left: 15px;
  top: 7px;
  font-size: 19px;
  fill: #8e8e8e;
}

a.editF:hover svg,
.active>.side-menu a.editF:hover svg {
  fill: #ebe919;
}

a.citeF:hover svg,
.active>.side-menu a.citeF:hover svg {
  fill: #33b5e5;
}

a.linkF:hover svg,
.active>.side-menu a.linkF:hover svg {
  fill: #ef55ed;
}

a.newF:hover svg,
.active>.side-menu a.newF:hover svg {
  fill: #83c000;
}

@media only screen and (min-width: 1336px) {
  #slideout-menu.active {
    left: -160px;
    width: 160px;
    border-bottom: 22px solid #585b5c;
    background: #00a2ff;
  }

  .active>#menu-button {
    width: 160px;
    position: relative;
  }

  .active>#menu-button:after {
    content: " ";
    width: 0px;
    height: 0px;
    display: block;
    position: absolute;
    right: 0;
    top: 12px;
    border: 4px solid transparent;
    border-right-color: #fff;
  }

  .active>.side-menu li {
    width: 160px;
    background: #494d4e;
    border-top: 1px solid #686969;
    border-bottom: 1px solid #2b2b2b;
  }

  .side-menu li:hover {
    margin-left: -90px;
    width: 140px;
  }

  .active>.side-menu li:hover {
    margin-left: 0;
    width: 155px;
  }
}



.modal-header {
  border-bottom: 1px solid #dedede;
  font-size: 24px;
  padding: 0px 0 10px 10px;
}

.modal-body {
  padding-left: 10px;
  padding-bottom: 10px;
  margin-top: 10px;
}

.modal-body dt {
  font-weight: bold;
}

.modal-body dd {
  margin: 5px 0 20px 25px;
}

/* removed: .content h3 generic rule — was overriding FAQ h3 after heading hierarchy fix */

.ad-footer {
  width: 728px;
  margin: 0 auto 12px;
}

.footer {
  width: 960px;
  margin: 5px auto 20px;
}

ul#footer-links {
  margin-top: 15px;
  text-align: center;
}

ul#footer-links li {
  display: inline-block;
  margin-right: 26px;
  position: relative;
}

ul#footer-links li:last-child {
  margin-right: 0;
}

ul#footer-links li:after {
  content: "|";
  display: block;
  position: absolute;
  top: 0;
  right: -15px;
  font-size: 12px;
  line-height: 20px;
}

ul#footer-links li:last-child:after {
  display: none;
}

ul#footer-links li a {
  font-size: 14px;
  line-height: 20px;
  color: #666666;
}

ul#footer-links li a:hover {
  color: #00a2ff;
}

.copyright {
  font-size: 12px;
  color: #666666;
  text-align: center;
  line-height: 20px;
}

.copyright a {
  color: #666666;
}

.modal-header {
  border-bottom: 1px solid #dedede;
  font-size: 24px;
  padding: 0px 0 10px 10px;
}

.modal-body {
  padding-left: 10px;
}

.modal-body dt {
  font-weight: bold;
}

.modal-body dd {
  margin: 5px 0 20px 25px;
}

.citations-warning {
  margin: 10px 0;
  padding: 5px !important;
  color: #555;
  line-height: 1.5em;
  background-color: #ededed;
  font-size: 0.87em;
}

#citation_pop {
  max-width: 600px;
}

#link_pop input {
  min-width: 400px;
}

.notfound-layout {
  display: block;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 0;
}

.notfound-left {
  margin-bottom: 24px;
}

.notfound-right {
  /* stacked below */
}

.notfound-card-desktop {
  background: #f9fafb;
  border: 1px solid #e8eaed;
  border-radius: 12px;
  padding: 30px 24px;
  text-align: center;
}

.notfound-icon-desktop {
  margin-bottom: 16px;
}

.notfound-icon-desktop svg {
  opacity: 0.5;
}

.notfound-title-desktop {
  font-size: 20px;
  font-weight: 500;
  color: #374151;
  margin-bottom: 4px;
}

.notfound-hint-desktop {
  font-size: 14px;
  color: #6b7280;
  margin: 16px 0 10px;
}

.notfound-pills-desktop {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.notfound-pills-desktop a {
  font-size: 13px;
  color: #1a1a2e;
  font-weight: 500;
  padding: 6px 16px;
  display: inline-block;
  background: #fff;
  border: 1px solid #e8eaed;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.notfound-pills-desktop a:hover {
  background: #00a2ff;
  color: #fff;
  border-color: #00a2ff;
}

.notfound-cta-desktop {
  padding-top: 20px;
}

.notfound-search-label-desktop {
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  margin-bottom: 10px;
}

.gcse-wrap {
  overflow: hidden;
}

#short_title {
  font-family: Arial, sans-serif;
  color: #656565;
  font-size: 30px;
  display: flex;
  justify-content: space-between;
}

#error_div {
  text-align: center;
  color: green;
}

#error_div span {
  color: red;
}

.definition strong {
  display: block;
  font-size: 19px;
}

.definition-language {
  display: inline-block;
  padding: 2px 8px;
  font-weight: 600;
  vertical-align: middle;
  border-radius: 12px;
  margin-left: 8px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background-color: #e0f2fe;
  border: 1px solid #bae6fd;
  color: #0369a1;
}

.definition .transliteration,
.definition .translation {
  display: block;
  font-weight: 500;
  font-size: 15px; /* Smaller than the 19px main definition */
  line-height: 1.5;
  margin-top: 5px;
  letter-spacing: 0.2px;
}

.definition .transliteration {
  display: block;
  border-left: 3px solid #cbd5e1; /* Slate spine connecting to translation */
  padding-left: 12px;
  color: #64748b;
  font-style: italic;
  margin-top: 8px;
  margin-bottom: 6px;
}

.definition .transliteration::before {
  content: "PRONOUNCED:";
  display: inline-block;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  margin-right: 6px;
  vertical-align: middle;
}

.definition .translation {
  display: block;
  background-color: #f1f9ff;
  border-left: 3px solid #00a2ff; /* Brand blue accent */
  padding: 8px 12px;
  border-radius: 0 4px 4px 0;
  color: #0056b3;
  margin-top: 6px;
  margin-bottom: 4px;
}

.definition .translation::before {
  content: "MEANS:";
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #0284c7; /* Subtle darker blue label */
  margin-right: 6px;
  vertical-align: middle;
}

.loading-bar {
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
  opacity: 0.6;
  z-index: 1;
  display: none;
}

.loading-bar img {
  top: 50%;
  left: 50%;
  margin: -26px 0 0 -26px;
  position: absolute;
  z-index: 2;
}

#contact_form .g-recaptcha>div,
#feedback_form .g-recaptcha>div,
#suggest_form .g-recaptcha>div {
  margin: 0 auto;
}

#contact_form #grecap,
#feedback_form #grecap,
#suggest_form #grecap {
  text-align: center;
}

#contact_form input,
#contact_form select,
#feedback_form input,
#feedback_form select {
  border-radius: 4px;
  width: 335px;
  height: 32px;
  border: 1px solid #ccc;
  font-size: 12px;
  color: #333;
  padding-left: 10px;
}

#edit_form input,
#edit_form textarea,
#edit_form select,
#suggest_form input,
#suggest_form textarea,
#suggest_form select {
  border-radius: 3px;
  border: 1px solid #a7a7a7;
  outline: none;
  height: 30px;
  padding-left: 15px;
  min-width: 170px;
}

[id*="_form"] input[type="submit"] {
  background-color: #0099ff;
  color: #fff;
}

.form-error {
  font-size: 12px;
  color: red;
}

.help-block {
  font-size: 12px;
}

.share-icon {
  width: 22px;
  height: 22px;
  vertical-align: top;
}

/* Share Buttons Custom Styles */
.share-btn-wrap {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.share-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f1f5f9;
  color: #334155;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  flex: 1;
}
.share-btn svg { width: 18px; height: 18px; fill: currentColor; }
.share-btn--fb { background-color: #1877f2; color: white; }
.share-btn--fb:hover { background-color: #166fe5; }
.share-btn--tw { background-color: #1da1f2; color: white; }
.share-btn--tw:hover { background-color: #1a91da; }

.share-input-row { width: 100%; display: flex; gap: 8px; align-items: center; }
.share-input-row input {
  flex: 1;
  padding: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 14px;
  color: #334155;
  outline: none;
  background-color: #f8fafc;
  box-sizing: border-box;
}
.share-input-row input:focus { border-color: #0ea5e9; background-color: #fff; }

.share-copy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #64748b;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.share-copy-btn:hover {
  background: #e0f2fe;
  border-color: #0ea5e9;
  color: #0369a1;
}

.share-check-icon { display: none; }

.share-copy-btn.copied {
  background: #dcfce7;
  border-color: #16a34a;
  color: #16a34a;
}

.share-copy-btn.copied .share-copy-icon { display: none; }
.share-copy-btn.copied .share-check-icon { display: block; }



.share-pop .title {
  font-size: 32px;
  display: block;
  text-align: center;
  margin-bottom: 10px;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
}

.clear:after {
  content: "";
  display: table;
  clear: both;
}

.speaker-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  border-radius: 50%;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.speaker-wrap:hover {
  background-color: rgba(0, 162, 255, 0.1);
}

.speaker-wrap:hover .icon-speaker {
  opacity: 0.8;
}

.icon-speaker {
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.icon-speaker.active {
  opacity: 1;
}

.speaker-wave {
  opacity: 0.3;
}

.icon-speaker.active .speaker-wave-1 {
  animation: wave-fade 1s ease-in-out infinite;
}

.icon-speaker.active .speaker-wave-2 {
  animation: wave-fade 1s ease-in-out 0.2s infinite;
}

.icon-speaker.active .speaker-wave-3 {
  animation: wave-fade 1s ease-in-out 0.4s infinite;
}

@keyframes wave-fade {
  0%, 100% { opacity: 0.15; }
  50% { opacity: 1; }
}

/* Page/Link Modal Redesign */
.link-modal-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  font-family: inherit;
  text-align: left;
}
.link-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.link-modal-title {
  display: flex;
  align-items: center;
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
}
.link-modal-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #e0f2fe;
  color: #0ea5e9;
  border-radius: 10px;
  margin-right: 12px;
}
.link-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.link-modal-close:hover {
  color: #334155;
}
.link-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.link-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  margin-bottom: 10px;
}
.link-input-row {
  display: flex;
  gap: 12px;
}
.link-input {
  flex-grow: 1;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: #475569;
  outline: none;
  background-color: #fcfcfc;
  transition: all 0.2s ease;
}
.link-input:hover, .link-textarea-wrapper:hover {
  border-color: #cbd5e1;
}
.link-input:focus {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.link-btn-copy-blue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #0ea5e9;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  width: 104px;
  padding: 0;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}
.link-btn-copy-blue:hover {
  background-color: #0284c7;
}
.link-textarea-wrapper {
  position: relative;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background-color: #f8fafc;
  padding: 16px 16px 16px 16px;
  transition: all 0.2s ease;
}
.link-textarea-wrapper .link-btn-copy-white + .link-code {
  padding-top: 36px;
}
.link-textarea-wrapper:focus-within {
  border-color: #0ea5e9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.15);
}
.link-textarea {
  width: 100%;
  border: none;
  background: transparent;
  resize: none;
  font-family: inherit;
  font-size: 15px;
  color: #475569;
  outline: none;
  min-height: 80px;
  padding: 0;
  margin: 0;
  line-height: 1.5;
}
.link-code {
  display: block;
  font-family: 'SFMono-Regular', 'Consolas', 'Liberation Mono', 'Menlo', monospace;
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
  padding: 8px 0 0;
  margin: 0;
  cursor: text;
  word-break: break-all;
}
.link-code .code-attr {
  color: #0369a1;
}
.link-code .code-value {
  color: #16a34a;
}
.link-btn-copy-white {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.link-btn-copy-white:hover {
  background-color: #f1f5f9;
}
.link-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid #f1f5f9;
}
.link-btn-cancel {
  background: transparent;
  border: none;
  color: #475569;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  transition: color 0.2s;
}
.link-btn-cancel:hover {
  color: #1e293b;
}
.link-btn-done {
  background-color: transparent;
  color: #64748b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 10px 24px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}
.link-btn-done:hover {
  background-color: #f1f5f9;
  color: #334155;
}
.link-btn-done:hover {
  background-color: #0284c7;
}


/* Citation Modal Redesign */
.citation-modal-container {
  display: flex;
  flex-direction: column;
  background-color: #ffffff;
  border-radius: 12px;
  font-family: inherit;
  text-align: left;
  box-sizing: border-box;
}
.citation-modal-container *, .citation-modal-container *::before, .citation-modal-container *::after {
  box-sizing: inherit;
}
.citation-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 16px 24px;
}
.citation-modal-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  margin: 0;
  display: flex;
  align-items: center;
}
.citation-modal-close {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}
.citation-modal-close:hover {
  color: #334155;
}
.citation-tabs {
  display: flex;
  gap: 24px;
  padding: 0 24px;
  border-bottom: 1px solid #f1f5f9;
}
.citation-tab {
  font-size: 15px;
  font-weight: 600;
  color: #64748b;
  padding-bottom: 12px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
  text-decoration: none;
}
.citation-tab:hover {
  color: #0ea5e9;
  border-bottom: 2px solid #7dd3fc;
}
.citation-tab.active {
  color: #0ea5e9;
  border-bottom: 2px solid #0ea5e9;
}
.citation-modal-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.citation-card {
  display: none;
  background-color: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.2s ease;
}
.citation-card:hover {
  border-color: #e2e8f0;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transform: translateY(-1px);
}
.citation-card.active {
  display: block;
  animation: fadeIn 0.2s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(2px); }
  to { opacity: 1; transform: translateY(0); }
}
.citation-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}
.citation-card-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0;
  padding-top: 6px;
}
.citation-btn-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #ffffff;
  color: #334155;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 0;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  width: 90px;
}
.citation-btn-copy:hover {
  background-color: #f1f5f9;
}
.citation-card-text {
  font-size: 15px;
  color: #334155;
  line-height: 1.6;
  margin: 0;
  word-break: break-word;
  cursor: text;
}
.citation-card-text a {
  color: #334155;
  text-decoration: none;
}
.citation-info-wrap {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  margin-left: 6px;
}
.citation-info-btn {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 2px;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s;
  vertical-align: middle;
}
.citation-info-btn:hover {
  color: #0ea5e9;
}
.citation-info-tooltip {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: #fff;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: normal;
  width: 240px;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.citation-info-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-bottom: 5px solid #1e293b;
}
.citation-info-wrap.show-tooltip .citation-info-btn {
  color: #0ea5e9;
}
.citation-info-wrap.show-tooltip .citation-info-tooltip {
  display: block;
}

/* Responsive Citation Settings */
@media (max-width: 600px) {
  #citation_pop {
    width: 100% !important;
    padding: 16px;
  }
  .citation-modal-container {
    padding: 0;
  }
  .citation-modal-header,
  .citation-tabs {
    padding-left: 16px;
    padding-right: 16px;
  }
  .citation-tabs {
    gap: 16px;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
  }
  .citation-modal-body {
    padding: 16px;
  }
  .citation-card-title {
    font-size: 11px;
  }
}

/* ============================================
   Inline Edit Modal
   ============================================ */

/* --- Overlay --- */
.ed-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.ed-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Modal Container --- */
.ed-modal-wrap {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.ed-modal-wrap.active {
  display: flex;
}

.ed-modal {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  max-width: 480px;
  width: 100%;
  position: relative;
  animation: edSlideIn 0.3s ease-out;
  max-height: 90vh;
  overflow-y: auto;
}

@keyframes edSlideIn {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(10px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* --- Header --- */
.ed-header {
  display: flex;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e5e7eb;
  gap: 14px;
}

.ed-header__icon {
  width: 42px;
  height: 42px;
  background: #e8f4fd;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ed-header__text h2 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a2e;
  margin: 0;
  line-height: 1.3;
}

.ed-header__text p {
  font-size: 13px;
  color: #6b7280;
  margin: 2px 0 0;
}

.ed-header__close {
  margin-left: auto;
  background: none;
  border: none;
  font-size: 24px;
  color: #9ca3af;
  cursor: pointer;
  padding: 4px 8px;
  line-height: 1;
  border-radius: 6px;
  transition: all 0.15s ease;
}

.ed-header__close:hover {
  background: #f3f4f6;
  color: #1a1a2e;
}

/* --- Body --- */
.ed-body {
  padding: 20px 24px;
}

/* --- Fields --- */
.ed-field {
  margin-bottom: 16px;
}

.ed-field label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

/* --- Side-by-side row --- */
.ed-row-pair {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.ed-row-pair .ed-field {
  flex: 1;
  margin-bottom: 0;
}

.ed-row-pair .ed-field--wide {
  flex: 2;
}

/* --- Form Inputs (Edit + Suggest) --- */
#edit_pop input[type="text"],
#edit_pop textarea,
#suggest_pop input[type="text"],
#suggest_pop textarea {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

#edit_pop textarea,
#suggest_pop textarea {
  height: auto;
  min-height: 110px;
  padding: 10px 12px;
  resize: vertical;
  line-height: 1.5;
}

#edit_pop input[type="text"]:focus,
#edit_pop textarea:focus,
#suggest_pop input[type="text"]:focus,
#suggest_pop textarea:focus {
  border-color: #00a2ff;
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.1);
}

#edit_pop input[type="text"]::placeholder,
#edit_pop textarea::placeholder,
#suggest_pop input[type="text"]::placeholder,
#suggest_pop textarea::placeholder {
  color: #9ca3af;
  font-weight: 400;
}

/* --- Readonly fields --- */
#edit_pop .ed-readonly {
  background: #f9fafb !important;
  color: #374151 !important;
  cursor: default;
  border-color: #e5e7eb !important;
}

#edit_pop .ed-readonly:focus {
  border-color: #e5e7eb !important;
  box-shadow: none !important;
}

/* --- Character counter --- */
.ed-char-count {
  text-align: right;
  font-size: 12px;
  color: #9ca3af;
  margin-top: 4px;
}

.ed-char-count--warn {
  color: #f59e0b;
}

.ed-char-count--danger {
  color: #ef4444;
  font-weight: 600;
}

/* --- Icon inputs --- */
.ed-input-icon-wrap {
  position: relative;
}

.ed-input-icon {
  position: absolute;
  left: 10px;
  top: 21px;
  transform: translateY(-50%);
  font-size: 14px;
  color: #9ca3af;
  pointer-events: none;
  line-height: 1;
  z-index: 1;
}

.ed-input-icon-wrap input[type="text"] {
  padding-left: 34px !important;
}

/* --- reCAPTCHA --- */
.ed-recaptcha {
  text-align: center;
  margin-bottom: 16px;
}

.ed-recaptcha .g-recaptcha>div {
  margin: 0 auto;
}

/* --- Footer --- */
.ed-footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
  border-top: 1px solid #e5e7eb;
  margin-top: 8px;
  padding-top: 16px;
}

.ed-cancel-btn {
  background: none;
  border: none;
  font-size: 14px;
  font-weight: 500;
  color: #6b7280;
  cursor: pointer;
  padding: 10px 20px;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.ed-cancel-btn:hover {
  background: #f3f4f6;
  color: #1a1a2e;
}

.ed-submit-btn {
  height: 44px;
  padding: 0 28px;
  background: linear-gradient(135deg, #00a2ff 0%, #0081ca 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  border: none;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 162, 255, 0.3);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.ed-submit-btn:hover {
  background: linear-gradient(135deg, #0090e5 0%, #006db5 100%);
  box-shadow: 0 4px 14px rgba(0, 162, 255, 0.4);
  transform: translateY(-1px);
}

.ed-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 162, 255, 0.3);
}

.ed-submit-btn:disabled {
  background: linear-gradient(135deg, #bfdbfe 0%, #93c5fd 100%);
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
  opacity: 0.7;
}

.ed-submit-btn:disabled:hover {
  transform: none;
  box-shadow: none;
}

/* --- Error div --- */
#edit_pop #ed_error_div {
  text-align: center;
  font-size: 14px;
  margin-bottom: 10px;
}

#edit_pop #ed_error_div span {
  color: #ef4444;
}

/* --- Loading bar --- */
#edit_pop .ed-loading-bar,
#suggest_pop .ed-loading-bar {
  overflow: hidden;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  position: absolute;
  top: 0;
  left: 0;
  z-index: 10;
  display: none;
  border-radius: 16px;
}

#edit_pop .ed-loading-bar img,
#suggest_pop .ed-loading-bar img {
  top: 50%;
  left: 50%;
  margin: -26px 0 0 -26px;
  position: absolute;
  z-index: 11;
}

/* --- Helper text --- */
.ed-helper-text {
  font-size: 11px;
  color: #9ca3af;
  margin-top: 5px;
  font-style: italic;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity 0.25s ease, max-height 0.25s ease;
}

.ed-helper-text.ed-helper-text--visible {
  opacity: 1;
  max-height: 30px;
}

/* --- Anonymous Toggle --- */
.ed-toggle-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.ed-toggle {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 22px;
  cursor: pointer;
  margin: 0;
}

.ed-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.ed-toggle__slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #d1d5db;
  border-radius: 22px;
  transition: background 0.25s ease;
}

.ed-toggle__slider::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  bottom: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ed-toggle input:checked+.ed-toggle__slider {
  background: #00a2ff;
}

.ed-toggle input:checked+.ed-toggle__slider::before {
  transform: translateX(18px);
}

.ed-toggle__label {
  font-size: 13px;
  font-weight: 500;
  color: #374151;
}

/* --- Identity fields container --- */
.ed-identity-fields {
  overflow: hidden;
}

/* --- Success State --- */
.ed-success {
  padding: 50px 30px;
  text-align: center;
}

.ed-success__icon {
  font-size: 52px;
  margin-bottom: 16px;
  line-height: 1;
}

.ed-success__message {
  font-size: 16px;
  font-weight: 500;
  color: #1a1a2e;
  line-height: 1.6;
  margin: 0 0 24px;
}

.ed-success__btn {
  display: inline-block;
  padding: 10px 28px;
  background: #fff;
  color: #00a2ff;
  font-size: 14px;
  font-weight: 600;
  border: 2px solid #00a2ff;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.ed-success__btn:hover {
  background: #00a2ff;
  color: #fff;
}

/* ============================================
   Inline Suggest Modal
   ============================================ */

/* --- Suggest Overlay (reuse ed-overlay pattern) --- */
.sg-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.55);
  z-index: 99998;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.sg-overlay.active {
  display: block;
  opacity: 1;
}

/* --- Wider modal for suggest form --- */
.sg-modal {
  max-width: 620px;
}

/* --- Select dropdowns --- */
#suggest_pop .sg-select {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  font-size: 14px;
  color: #1f2937;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' 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;
  padding-right: 32px;
}

#suggest_pop .sg-select:focus {
  border-color: #00a2ff;
  box-shadow: 0 0 0 3px rgba(0, 162, 255, 0.1);
}

/* --- Required asterisk --- */
.sg-required {
  color: #00a2ff;
  font-weight: 700;
}

/* --- Green themed submit for suggest --- */
.sg-submit-btn {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3) !important;
}

.sg-submit-btn:hover {
  background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
  box-shadow: 0 4px 14px rgba(16, 185, 129, 0.4) !important;
}

/* ============================================
   Image Lightbox (replaces fancybox for images)
   ============================================ */
.img-lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 99999;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.img-lightbox.active {
  display: flex;
}

.img-lightbox__close {
  position: absolute;
  top: 16px;
  right: 24px;
  background: none;
  border: none;
  color: #fff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s;
}

.img-lightbox__close:hover {
  opacity: 1;
}

.img-lightbox__content {
  text-align: center;
  cursor: default;
  max-width: 90vw;
  max-height: 90vh;
}

.img-lightbox__content img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.img-lightbox__caption {
  color: #e5e7eb;
  font-size: 14px;
  margin-top: 12px;
  line-height: 1.5;
}

.img-lightbox__caption b {
  color: #fff;
  font-weight: 600;
}

img.search-image {
  cursor: pointer;
}