.strunz-page{
  gap:16px;
}

.strunz-head{
  display:flex;
  flex-direction:column;
  gap:8px;
}

.strunz-title{
  font-size:34px;
  line-height:1.05;
  font-weight:850;
}

.strunz-summary{
  color:var(--muted);
  font-size:15px;
  line-height:1.45;
}

.strunz-summary p{
  margin:0 0 10px;
}

.strunz-summary p:last-child{
  margin-bottom:0;
}

.strunz-summary.is-collapsed p:not(:first-child){
  display:none;
}

.strunz-summary-toggle{
  border:0;
  padding:0;
  background:transparent;
  color:rgba(186,230,253,.88);
  cursor:pointer;
  font:inherit;
  font-size:13px;
  font-weight:500;
}

.strunz-summary-toggle[hidden]{
  display:none !important;
}

.strunz-summary-toggle--more{
  display:inline;
  margin-left:4px;
}

.strunz-summary-toggle--less{
  align-self:flex-start;
  margin-top:-2px;
}

.strunz-summary-toggle:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.strunz-stats{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}

.strunz-stat-chip{
  display:inline-flex;
  align-items:center;
  padding:5px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.04);
  font-size:13px;
  line-height:1.25;
}

.strunz-stat-chip--blue{
  border-color:rgba(186,230,253,.24);
  background:rgba(186,230,253,.10);
  color:rgba(224,242,254,.86);
}

.strunz-stat-chip--sand{
  border-color:rgba(253,230,138,.28);
  background:rgba(253,230,138,.12);
  color:rgba(254,243,199,.90);
}

.strunz-tools{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:10px;
  border:1px solid var(--line);
  border-radius:18px;
  background:rgba(255,255,255,.03);
}

.strunz-search-wrap{
  display:grid;
  grid-template-columns:minmax(0, 1fr) 72px;
  gap:8px;
  align-items:start;
  min-width:0;
}

.strunz-search-field-row{
  grid-column:1;
  min-width:0;
}

.strunz-search{
  width:100%;
  height:36px;
  padding:7px 12px;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(255,255,255,.04);
  color:var(--txt);
  outline:none;
  font:inherit;
}

.strunz-search-results{
  grid-column:1 / -1;
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid var(--line);
}

.strunz-search-results[hidden]{
  display:none !important;
}

.strunz-results-head,
.strunz-results-muted{
  color:var(--muted);
  font-size:13px;
  line-height:1.35;
}

.strunz-results-list{
  display:flex;
  flex-direction:column;
  gap:8px;
  margin-top:8px;
}

.strunz-result{
  display:grid;
  grid-template-columns:minmax(0, 1fr) auto;
  gap:10px;
  align-items:start;
  padding:9px 0;
  border-top:1px dashed rgba(255,255,255,.10);
}

.strunz-result:first-child{
  border-top:0;
  padding-top:0;
}

.strunz-result-body{
  min-width:0;
}

.strunz-result-line{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  align-items:baseline;
}

.strunz-result-title{
  color:var(--txt);
  font-weight:500;
  line-height:1.3;
}

a.strunz-result-title{
  color:#1f73b7;
  font-weight:400;
}

a.strunz-result-title:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

a.strunz-result-mindat-link{
  font-weight:400;
  text-decoration-line:underline;
  text-decoration-style:dashed;
  text-decoration-thickness:1px;
  text-decoration-color:rgba(31,115,183,.72);
  text-underline-offset:3px;
}

.strunz-result-en,
.strunz-result-meta,
.strunz-result-path{
  color:var(--muted);
  font-size:12px;
  line-height:1.35;
}

.strunz-mode-seg,
.strunz-lang-seg{
  display:grid;
  gap:0;
  padding:0;
  border:1px solid var(--line);
  border-radius:14px;
  background:rgba(0,0,0,.10);
  align-items:stretch;
  height:36px;
  overflow:hidden;
}

.strunz-mode-seg{
  grid-template-columns:1fr 1fr;
}

.strunz-lang-seg{
  grid-column:2;
  grid-template-columns:1fr 1fr;
}

.strunz-mode-btn,
.strunz-lang-btn{
  border:0;
  border-radius:0;
  padding:7px 6px;
  background:transparent;
  color:var(--muted);
  cursor:pointer;
  font:inherit;
  font-size:14px;
  font-weight:600;
  min-width:0;
  height:34px;
  line-height:1;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.strunz-mode-btn + .strunz-mode-btn,
.strunz-lang-btn + .strunz-lang-btn{
  border-left:1px solid var(--line);
}

.strunz-mode-btn{
  padding:7px 8px;
}

.strunz-mode-btn:hover,
.strunz-lang-btn:hover{
  background:rgba(255,255,255,.055);
  color:var(--txt);
}

.strunz-mode-btn.is-active,
.strunz-lang-btn.is-active{
  background:rgba(125,211,252,.18);
  color:var(--txt);
}

.page-strunz .strunz-ui .node-head{
  padding-top:9px;
  padding-bottom:9px;
  justify-content:flex-start;
  gap:8px;
}

.page-strunz .strunz-ui .chev.is-placeholder{
  visibility:hidden;
}

.page-strunz .strunz-ui .node-taxon{
  font-size:13px;
}

.page-strunz .strunz-ui .node-text{
  display:block;
  min-width:0;
}

.page-strunz .strunz-ui .node-title{
  display:inline;
  font-size:15px;
  font-weight:400;
  line-height:1.3;
}

.page-strunz .strunz-ui .node-code{
  display:inline;
  white-space:nowrap;
  margin-right:7px;
  color:var(--muted);
  font-size:.92em;
}

.page-strunz .strunz-ui .node-title a{
  color:#1f73b7;
  font-weight:400;
}

.page-strunz .strunz-ui .node-right{
  margin-left:auto;
}

.page-strunz .strunz-ui .strunz-mineral-node .node-taxon{
  opacity:.72;
}

.page-strunz .strunz-ui .strunz-mineral-node .node-title{
  color:rgba(244,246,251,.84);
}

.strunz-node-items{
  display:grid;
  grid-template-columns:max-content minmax(0, 1fr);
  column-gap:8px;
  row-gap:7px;
  padding:8px 12px 12px 38px;
}

.strunz-node-item{
  display:contents;
  border:0;
  border-radius:0;
  background:transparent;
  color:rgba(244,246,251,.84);
  font-size:15px;
  line-height:1.3;
  font-weight:400;
}

.strunz-node-item-link{
  color:#1f73b7;
  font-weight:400;
}

.strunz-node-item-mindat-link{
  color:#1f73b7;
  font-weight:400;
  text-decoration-line:underline;
  text-decoration-style:dashed;
  text-decoration-thickness:1px;
  text-decoration-color:rgba(31,115,183,.72);
  text-underline-offset:3px;
}

.strunz-node-item-link:hover,
.strunz-node-item-mindat-link:hover{
  text-decoration:underline;
  text-underline-offset:3px;
}

.strunz-node-item > .node-taxon{
  grid-column:1;
  white-space:nowrap;
  padding:7px 0 7px 9px;
  line-height:1.3;
  align-self:baseline;
}

.strunz-node-item-title{
  min-width:0;
  line-height:1.3;
  vertical-align:baseline;
}

.strunz-node-item-name{
  grid-column:2;
  display:inline-flex;
  align-items:baseline;
  gap:5px;
  min-width:0;
  padding:7px 9px 7px 0;
  line-height:1.3;
  align-self:baseline;
}

.strunz-node-item-en{
  color:var(--muted);
  font-size:12px;
  font-weight:400;
}

.strunz-info-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:22px;
  height:22px;
  border-radius:999px;
  border:0;
  background:transparent;
  color:rgba(244,246,251,.64);
  cursor:pointer;
  font-family:Georgia, "Times New Roman", serif;
  font-size:13px;
  font-weight:650;
  line-height:1;
}

.strunz-result > .strunz-info-btn{
  grid-column:3;
}

.strunz-info-btn-favicon{
  font-family:inherit;
  font-size:0;
  font-weight:400;
}

.strunz-info-btn-favicon img{
  display:block;
  width:15px;
  height:15px;
}

.strunz-info-btn:hover{
  color:var(--txt);
  background:rgba(255,255,255,.06);
}

.strunz-host.treeui-rows ul.mchildren,
.strunz-host.treeui-rows ul.mtree{
  margin:0;
  list-style:none;
}

.strunz-host.treeui-rows ul.mtree{
  padding:0;
}

.strunz-host.treeui-rows ul.mchildren{
  padding:0 0 0 18px;
  border:0 !important;
  border-left:0 !important;
  border-top:0 !important;
  outline:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.strunz-host.treeui-rows .node{
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
  margin:0 !important;
}

.strunz-host.treeui-rows .node-head{
  display:flex !important;
  align-items:baseline !important;
  gap:7px !important;
  position:static !important;
  top:auto !important;
  z-index:auto !important;
  padding:2px 10px !important;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

.strunz-host.treeui-rows .node-body{
  border-top:0 !important;
  border-left:0 !important;
  box-shadow:none !important;
}

.strunz-host.treeui-rows .node-head::before,
.strunz-host.treeui-rows .node-head::after{
  content:none !important;
}

.strunz-host.treeui-rows .node-text{
  display:inline !important;
}

.strunz-host.treeui-rows .node-title{
  display:inline !important;
}

.strunz-host.treeui-rows .node-taxon{
  margin-right:8px !important;
  white-space:nowrap !important;
}

.strunz-host.treeui-rows .node-right{
  display:inline-flex !important;
  margin-left:10px !important;
}

.strunz-host.treeui-rows .chev{
  display:inline-block !important;
  vertical-align:baseline !important;
}

.strunz-host.treeui-rows .chev{
  width:auto !important;
  height:auto !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  box-shadow:none !important;
}

.strunz-host.treeui-rows .strunz-node-items{
  padding:5px 0 6px 53px;
  row-gap:4px;
}

.strunz-host:not(.treeui-rows) .strunz-node-items{
  row-gap:0;
}

.strunz-host.treeui-rows .strunz-node-item{
  display:contents;
  width:auto;
  max-width:100%;
  border:0;
  border-radius:0;
  background:transparent;
}

.strunz-host.treeui-rows .strunz-node-item > .node-taxon,
.strunz-host.treeui-rows .strunz-node-item-name{
  padding-top:2px;
  padding-bottom:2px;
}

.strunz-host.treeui-rows .strunz-node-item > .node-taxon{
  padding-left:0;
}

.strunz-host.treeui-rows .strunz-node-item-name{
  padding-right:0;
}

.strunz-host.treeui-rows .strunz-node-item::before,
.strunz-host.treeui-rows .strunz-node-item::after,
.strunz-host.treeui-rows .mchildren::before,
.strunz-host.treeui-rows .mchildren::after,
.strunz-host.treeui-rows ul.mchildren::before,
.strunz-host.treeui-rows ul.mchildren::after,
.strunz-host.treeui-rows .node-body::before,
.strunz-host.treeui-rows .node-body::after{
  content:none !important;
  display:none !important;
}

.page-strunz .strunz-ui .mchildren{
  border:0 !important;
  border-top:0 !important;
  border-left:0 !important;
  outline:0 !important;
  box-shadow:none !important;
}

@media (max-width:759px){
  .strunz-mode-seg{
    display:none;
  }
}

@media (min-width:760px){
  .strunz-title{
    font-size:46px;
  }

  .strunz-summary{
    font-size:17px;
    line-height:1.5;
  }

  .strunz-summary-toggle{
    font-size:15px;
  }

  .strunz-stat-chip{
    font-size:14px;
  }

  .strunz-tools{
    display:block;
  }

  .strunz-search-wrap{
    display:grid;
    grid-template-columns:minmax(0, 1fr) 220px 72px;
    gap:8px;
    grid-column:1 / -1;
    align-items:start;
  }

  .strunz-search-field-row{
    grid-column:1;
  }

  .strunz-mode-seg{
    grid-column:2;
  }

  .strunz-lang-seg{
    grid-column:3;
  }

  .strunz-search-results{
    grid-column:1 / -1;
  }

  .page-strunz .mtree,
  .page-strunz .mchildren{
    gap:12px;
  }

  .page-strunz .strunz-host.treeui-rows .mtree,
  .page-strunz .strunz-host.treeui-rows .mchildren{
    gap:0px !important;
  }

  .page-strunz .strunz-ui .node-head{
    padding-top:10px;
    padding-bottom:10px;
  }

  .page-strunz .strunz-ui .node-taxon{
    font-size:14px;
  }

  .page-strunz .strunz-ui .node-title{
    font-size:17px;
  }

  .page-strunz .strunz-node-item{
    font-size:17px;
  }

  .page-strunz .strunz-node-item .node-taxon,
  .page-strunz .strunz-node-item-en{
    font-size:14px;
  }

  .page-strunz .strunz-info-btn{
    width:24px;
    height:24px;
    font-size:14px;
  }

  .page-strunz #popupBody .li .title{
    font-size:17px;
    line-height:1.3;
  }

  .page-strunz .popup-head #popupTitle{
    font-size:18px;
    line-height:1.25;
  }

  .page-strunz #popupBody .li .meta{
    font-size:14px;
    line-height:1.4;
  }

  .page-strunz #popupBody .muted,
  .page-strunz .strunz-results-head,
  .page-strunz .strunz-results-muted{
    font-size:15px;
  }

  .page-strunz .strunz-result-title{
    font-size:17px;
  }

  .page-strunz .strunz-result-en,
  .page-strunz .strunz-result-meta,
  .page-strunz .strunz-result-path{
    font-size:14px;
  }
}

html[data-theme="light"] .strunz-summary-toggle,
html[data-theme="light"] a.strunz-result-title,
html[data-theme="light"] .page-strunz .strunz-ui .node-title a{
  color:#1f73b7;
}

html[data-theme="light"] .strunz-tools{
  background:rgba(255,255,255,.72);
}

html[data-theme="light"] .strunz-stat-chip--blue{
  border-color:rgba(37,99,235,.18);
  background:rgba(37,99,235,.08);
  color:rgba(30,64,175,.86);
}

html[data-theme="light"] .strunz-stat-chip--sand{
  border-color:rgba(202,138,4,.24);
  background:rgba(250,204,21,.14);
  color:rgba(133,77,14,.90);
}

html[data-theme="light"] .strunz-result{
  border-top-color:rgba(15,23,42,.14);
}

html[data-theme="light"] .strunz-result-title{
  color:rgba(15,23,42,.92);
}

html[data-theme="light"] .strunz-mode-seg,
html[data-theme="light"] .strunz-lang-seg{
  background:rgba(15,23,42,.035);
}

html[data-theme="light"] .strunz-mode-btn:hover,
html[data-theme="light"] .strunz-lang-btn:hover{
  background:rgba(15,23,42,.06);
}

html[data-theme="light"] .strunz-mode-btn.is-active,
html[data-theme="light"] .strunz-lang-btn.is-active{
  background:rgba(37,99,235,.10);
}

html[data-theme="light"] .page-strunz .strunz-ui .strunz-mineral-node .node-title{
  color:rgba(15,23,42,.82);
}

html[data-theme="light"] .strunz-node-item{
  color:rgba(15,23,42,.82);
}

html[data-theme="light"] .strunz-node-item-link{
  color:#1f73b7;
}

html[data-theme="light"] .strunz-node-item-mindat-link,
html[data-theme="light"] a.strunz-result-mindat-link{
  color:#1f73b7;
  text-decoration-color:rgba(31,115,183,.72);
}

html[data-theme="light"] .strunz-info-btn{
  color:rgba(15,23,42,.62);
}

html[data-theme="light"] .strunz-info-btn:hover{
  color:rgba(15,23,42,.92);
  background:rgba(15,23,42,.06);
}
