.buddhist-dictionary-page{
  padding-top:36px;
  padding-bottom:78px;
}
.dictionary-intro{
  max-width:980px;
  margin:0 0 30px;
}
.dictionary-intro p{
  margin:0 0 12px;
  font-size:13px;
  line-height:1.65;
  color:#514b44;
}
.dictionary-intro .dictionary-method{
  color:#71695f;
  font-size:11.5px;
}
.dictionary-interface{
  margin-top:26px;
}
.dictionary-toolbar{
  display:grid;
  grid-template-columns:minmax(280px,1.4fr) minmax(220px,.8fr) auto auto;
  gap:12px;
  align-items:end;
  margin:0 0 14px;
}
.dictionary-control{
  display:flex;
  flex-direction:column;
  gap:7px;
  margin:0;
}
.dictionary-control > span{
  font:10px/1.3 Arial,sans-serif;
  letter-spacing:.09em;
  text-transform:uppercase;
  color:#6d655b;
}
.dictionary-control input,
.dictionary-control select{
  width:100%;
  min-height:43px;
  border:1px solid var(--line);
  border-radius:0;
  background:#fff;
  padding:9px 11px;
  font:12px/1.35 Arial,sans-serif;
  color:#28231f;
}
.dictionary-control input:focus,
.dictionary-control select:focus{
  outline:2px solid rgba(112,87,53,.2);
  outline-offset:1px;
  border-color:#9e8b70;
}
.dictionary-reset{
  min-height:43px;
  padding:9px 16px;
  border:1px solid var(--line);
  background:var(--paper-2);
  color:#3f3932;
  font:11px/1.35 Arial,sans-serif;
  cursor:pointer;
}
.dictionary-reset:hover{
  border-color:#b7a68f;
  background:#f0e9df;
}
.dictionary-count{
  min-height:43px;
  display:flex;
  align-items:center;
  justify-content:flex-end;
  white-space:nowrap;
  font:10px/1.35 Arial,sans-serif;
  letter-spacing:.05em;
  color:#6d655b;
}
.dictionary-table-wrap{
  width:100%;
  max-height:72vh;
  overflow-x:scroll;
  overflow-y:auto;
  scrollbar-gutter:stable;
  border:1px solid var(--line);
  background:#fff;
  overscroll-behavior:contain;
}
.dictionary-table{
  width:100%;
  min-width:1880px;
  margin:0;
  border-collapse:separate;
  border-spacing:0;
  table-layout:auto;
  font-size:11px;
}
.dictionary-table th,
.dictionary-table td{
  min-width:128px;
  padding:8px 9px;
  border-right:1px solid #ddd5ca;
  border-bottom:1px solid #e6dfd6;
  vertical-align:middle;
  text-align:left;
  line-height:1.35;
  background:#fff;
}
.dictionary-table th:last-child,
.dictionary-table td:last-child{
  border-right:0;
}
.dictionary-table thead th{
  font-family:Arial,sans-serif;
  font-weight:500;
  white-space:nowrap;
}
.dictionary-table .dictionary-groups th{
  position:sticky;
  top:0;
  z-index:5;
  height:36px;
  padding-top:7px;
  padding-bottom:7px;
  background:#e9e0d3;
  color:#3e372f;
  font-size:10px;
  text-align:center;
  letter-spacing:.02em;
}
.dictionary-table .dictionary-columns th{
  position:sticky;
  top:36px;
  z-index:4;
  height:34px;
  background:#f7f3ed;
  color:#62594e;
  font-size:9.5px;
  text-align:center;
}
.dictionary-table td{
  max-width:190px;
}
.dictionary-table tbody tr:hover td{
  background:#fbf8f3;
}
.dictionary-table .dictionary-sticky-col{
  position:sticky;
  left:0;
  z-index:3;
  min-width:170px;
  max-width:205px;
  border-right:1px solid #cfc3b3;
  box-shadow:4px 0 7px rgba(53,43,31,.035);
}
.dictionary-table tbody .dictionary-sticky-col{
  background:#fff;
  font-weight:500;
}
.dictionary-table tbody tr:hover .dictionary-sticky-col{
  background:#fbf8f3;
}
.dictionary-table .dictionary-groups .dictionary-sticky-col{
  z-index:7;
}
.dictionary-table .dictionary-columns .dictionary-sticky-col{
  z-index:6;
}
.dictionary-tibetan{
  font-size:13px;
}
.dictionary-cell-empty{
  color:#b3aaa0;
  text-align:center !important;
}
.dictionary-empty{
  margin:18px 0 0;
  padding:18px 20px;
  border:1px solid var(--line);
  background:var(--paper-2);
  color:#625b53;
  font-size:12px;
}
@media(max-width:900px){
  .dictionary-toolbar{
    grid-template-columns:1fr 1fr;
  }
  .dictionary-count{
    justify-content:flex-start;
  }
}
@media(max-width:600px){
  .buddhist-dictionary-page{
    padding-top:26px;
    padding-bottom:58px;
  }
  .dictionary-toolbar{
    grid-template-columns:1fr;
  }
  .dictionary-count{
    min-height:auto;
    padding:3px 0;
  }
  .dictionary-table-wrap{
    max-height:68vh;
  }
  .dictionary-table{
    min-width:1880px;
  }
  .dictionary-table .dictionary-sticky-col{
    min-width:150px;
    max-width:175px;
  }
}

.dictionary-table-wrap::-webkit-scrollbar{
  height:14px;
  width:12px;
}
.dictionary-table-wrap::-webkit-scrollbar-track{
  background:#eee7dd;
  border-top:1px solid #d7ccbd;
}
.dictionary-table-wrap::-webkit-scrollbar-thumb{
  background:#9f907c;
  border:3px solid #eee7dd;
  border-radius:8px;
}
.dictionary-table-wrap{
  scrollbar-width:auto;
  scrollbar-color:#9f907c #eee7dd;
}
