/* MythBeasts Faceted Finder 1.8.355 — scrollbar confined below Filters heading. */
.mbac-finder{--mbf-bg:#171217;--mbf-panel:#211a20;--mbf-border:#493942;--mbf-text:#f5f0ea;--mbf-muted:#c4b7bd;--mbf-gold:#f4d261;color:var(--mbf-text)!important;color-scheme:dark;font-family:inherit;box-sizing:border-box;width:min(1520px,calc(100vw - 36px));max-width:none;margin:0 0 48px 50%;transform:translateX(-50%);padding:20px 16px 30px;background:var(--mbf-bg)}
.mbac-finder *, .mbac-finder *::before,.mbac-finder *::after{box-sizing:border-box}
.mbac-finder button,.mbac-finder input,.mbac-finder select{font:inherit}
.mbac-finder button{cursor:pointer}
.mbac-finder [hidden],.mbac-finder--portal [hidden]{display:none!important}
.mbac-finder :is(button,a,input,select,[role="button"]):focus-visible{outline:2px solid var(--mbf-gold)!important;outline-offset:2px}
.mbac-finder__layout{display:grid;grid-template-columns:minmax(225px,258px) minmax(0,1fr);gap:24px;align-items:start}
.mbac-finder__main{min-width:0}
.mbac-finder__sidebar{display:flex;flex-direction:column;min-height:0;background:var(--mbf-panel);border:1px solid var(--mbf-border);border-radius:6px;overflow:hidden;position:relative!important;top:0!important;align-self:start;max-height:calc(100dvh - 64px)}
/* Keep the panel heading outside the scrolling taxonomy viewport. The scrollbar
   must start at Beast Types, never run alongside or cover the Filters heading. */
.mbac-finder__sidebar-head{display:flex;flex:none;justify-content:space-between;align-items:center;padding:14px 16px;border-bottom:1px solid var(--mbf-border);background:var(--mbf-panel);position:relative;z-index:2}
.mbac-finder__facets{flex:1 1 auto;min-height:0;overflow-x:hidden;overflow-y:auto;scrollbar-color:#61515b transparent;overscroll-behavior:contain}
.mbac-finder__sidebar-head h3{margin:0!important;font-size:17px!important;font-weight:800!important;color:var(--mbf-text)!important}
.mbac-finder__close,.mbac-finder__mobile-apply,.mbac-finder__mobile-filter,.mbac-finder__shade{display:none}
.mbac-finder__facet{border-bottom:1px solid var(--mbf-border);padding:0 15px}
.mbac-finder__facet:last-child{border-bottom:0}
.mbac-finder__facet>summary{cursor:pointer;padding:14px 1px;display:flex;justify-content:space-between;align-items:center;color:var(--mbf-text)!important;font-weight:750;font-size:14px;gap:8px;list-style:none}
.mbac-finder__facet>summary::-webkit-details-marker{display:none}
.mbac-finder__facet>summary::after{content:'+';font-size:15px;color:var(--mbf-gold)}
.mbac-finder__facet[open]>summary::after{content:'−'}
.mbac-finder__facet-count{font-size:10px;color:var(--mbf-gold);margin-left:auto;font-weight:600}
.mbac-finder__options{padding-bottom:14px;display:flex;flex-direction:column;gap:4px}
.mbac-finder__parent-row{display:grid!important;grid-template-columns:18px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;width:100%!important;min-width:0!important}
.mbac-finder__parent-row>.mbac-finder__option{grid-column:2;min-width:0}
/* A span, not a button: TagDiv's global button styles cannot create gray boxes. */
.mbac-finder .mbac-finder__expand,.mbac-finder .mbac-finder__expand-space{display:inline-grid!important;place-items:center!important;grid-column:1!important;align-self:center!important;width:18px!important;height:26px!important;min-width:18px!important;max-width:18px!important;min-height:26px!important;max-height:26px!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;transform:none!important;color:var(--mbf-gold)!important;font-family:Arial,sans-serif!important;font-size:17px!important;font-weight:500!important;line-height:1!important;text-align:center!important;text-decoration:none!important;cursor:pointer!important;user-select:none!important}
.mbac-finder__expand-space{cursor:default!important}
.mbac-finder__option{display:flex;align-items:center;gap:8px;width:100%;cursor:pointer;min-height:29px;padding:3px;border-radius:4px;color:var(--mbf-text)!important;font-size:13px;line-height:1.3;font-weight:400!important}
.mbac-finder__option:hover{background:#362931}.mbac-finder__option.is-selected{background:#40302d}
.mbac-finder__option input[type="checkbox"]{appearance:auto!important;flex:none;accent-color:var(--mbf-gold);width:15px!important;height:15px!important;margin:0!important;padding:0!important;opacity:1!important;position:static!important;display:block!important}
.mbac-finder__option-name{flex:1;overflow-wrap:anywhere}
.mbac-finder__option-count{color:var(--mbf-muted);font-size:11px;min-width:22px;text-align:right;font-variant-numeric:tabular-nums}
.mbac-finder__children{margin:3px 0 4px 16px;padding:3px 0 5px 8px;border-left:1px solid #65525b}
.mbac-finder__option--child{min-height:27px}
.mbac-finder__no-options{font-size:12px;color:var(--mbf-muted)!important;margin:4px 0}
/* Desktop controls use explicit siblings. No display:contents, no reparenting. */
.mbac-finder__toolbar{display:flex;align-items:center;gap:9px;min-height:38px;margin:0 0 15px;min-width:0}
.mbac-finder__toolbar-primary{flex:0 0 auto;min-width:0}
.mbac-finder__count{color:#fff!important;font-size:15px!important;white-space:nowrap;font-weight:750}
.mbac-finder .mbac-finder__search-toggle{flex:0 0 36px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:1px solid #68555f!important;border-radius:5px!important;background:#2c222b!important;box-shadow:none!important;color:var(--mbf-gold)!important;cursor:pointer!important}
.mbac-finder__search-control{display:flex;align-items:center;min-width:0;flex:0 1 240px;width:240px;height:36px;border:1px solid #8d715d;border-radius:5px;overflow:hidden;background:#2c222b}
.mbac-finder__search-label{display:block;flex:1 1 auto;min-width:0;height:34px}
.mbac-finder .mbac-finder__search{display:block!important;min-width:0!important;width:100%!important;height:34px!important;border:0!important;border-radius:0!important;background:transparent!important;color:#f8f1ed!important;box-shadow:none!important;font-size:13px!important;padding:0 11px!important;margin:0!important;line-height:34px!important}
.mbac-finder .mbac-finder__search::placeholder{color:#b9aab1!important}
.mbac-finder .mbac-finder__search-close{flex:0 0 34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:34px!important;height:34px!important;min-height:34px!important;margin:0!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#f1e6e0!important;font-size:23px!important;line-height:1!important;cursor:pointer!important}
.mbac-finder__toolbar-actions{display:flex;gap:10px;align-items:center;justify-content:flex-end;flex:1 1 auto;min-width:0}
.mbac-finder .mbac-finder__clear{color:var(--mbf-gold)!important;background:transparent!important;white-space:nowrap;flex:none;border:0!important;box-shadow:none!important;font-size:12px!important;line-height:20px!important;padding:8px 6px!important;margin:0!important}
.mbac-finder__sort-label{display:flex;align-items:center;gap:10px;position:relative;white-space:nowrap;color:var(--mbf-muted);font-size:12px;flex:none}
.mbac-finder__sort-label::after{content:'';position:absolute;right:13px;top:14px;width:7px;height:7px;border-right:1.5px solid #f4ece2;border-bottom:1.5px solid #f4ece2;transform:rotate(45deg);pointer-events:none}
.mbac-finder .mbac-finder__sort{appearance:none!important;-webkit-appearance:none!important;box-shadow:none!important;background:#2a2229!important;color:#fff!important;border:1px solid #66545c!important;border-radius:5px!important;height:36px!important;width:112px!important;min-width:112px!important;padding:0 32px 0 11px!important;margin:0!important;line-height:34px!important;font-size:13px!important;cursor:pointer!important}
.mbac-finder__chips{display:flex;flex-wrap:wrap;gap:7px;margin:0 0 15px}.mbac-finder__chips:empty{display:none}
.mbac-finder .mbac-finder__chip{background:#372b33!important;color:#f9eee4!important;border:1px solid #6d5260!important;padding:6px 10px!important;border-radius:20px!important;font-size:12px!important;line-height:1.3!important;box-shadow:none!important}
.mbac-finder__chip span[aria-hidden]{color:var(--mbf-gold);margin-left:4px}
.mbac-finder__cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch;min-width:0}
.mbac-finder--busy .mbac-finder__cards{opacity:.65;transition:opacity .12s}
.mbac-finder__tagdiv-card{min-width:0;width:100%;max-width:100%;display:block;position:relative;align-self:stretch}
.mbac-finder__tagdiv-card>.td_module_wrap{width:100%;max-width:100%;min-width:0;margin-bottom:0}
.mbac-finder__tagdiv-card>.td_module_wrap>.td-module-container{width:100%;max-width:100%;min-width:0}
/* Cloud Library's Flex Block Builder applies these structural constraints
   around the SAME tdb_module_template::render() output on the homepage.
   Unlike the homepage, the Finder is a shortcode, so TagDiv never emits
   the Flex Block Builder's block-level CSS on this page. Without it, the
   inner .tdc-row expands beyond the parent .beast-card on mobile, leaving
   the patterned body outside the original decorative card border.
   Replicate only those native layout constraints inside the Finder; do not
   style individual card children, invent frames, or affect the homepage. */
.mbac-finder__tagdiv-card>.td_module_wrap>.td-module-container{
  position:relative;
  height:100%;
}
.mbac-finder__tagdiv-card>.td_module_wrap>.td-module-container>[class*="tdc-zone"]{
  height:100%;
}
.mbac-finder__tagdiv-card>.td_module_wrap>.td-module-container>[class*="tdc-zone"]>.tdc_zone{
  height:100%;
  display:flex;
  flex-direction:column;
}
.mbac-finder__tagdiv-card>.td_module_wrap .tdc-row:not([class*="stretch_row_"]),
.mbac-finder__tagdiv-card>.td_module_wrap .tdc-row-composer:not([class*="stretch_row_"]){
  width:100%!important;
  max-width:1240px!important;
}
@media(max-width:767px){
  .mbac-finder__tagdiv-card>.td_module_wrap .td-container,
  .mbac-finder__tagdiv-card>.td_module_wrap .tdc-row,
  .mbac-finder__tagdiv-card>.td_module_wrap .tdc-row-composer{
    padding-left:0;
    padding-right:0;
  }
  .mbac-finder__tagdiv-card>.td_module_wrap .td-pb-row>.td-element-style{
    width:100%!important;
    left:0!important;
    transform:none!important;
  }
}
.mbac-finder__empty{grid-column:1/-1;border:1px dashed #735963;padding:40px 15px;text-align:center;display:grid;gap:8px}
.mbac-finder__empty strong{color:#fff!important}.mbac-finder__empty span{color:var(--mbf-muted)}
.mbac-finder__paging{text-align:center;margin:27px 0 10px}
.mbac-finder .mbac-finder__load{color:#1a1215!important;background:var(--mbf-gold)!important;border:0!important;border-radius:3px!important;font-size:13px!important;font-weight:850!important;padding:12px 22px!important;box-shadow:none!important}
.mbac-finder__error{background:#492029;color:#ffdfdf;padding:14px;border:1px solid #a95967;border-radius:5px;margin-top:12px}
/* The existing TagDiv module supplies the real icons, color chips, and typography. */

@media (min-width:761px) and (max-width:1350px){.mbac-finder__layout{grid-template-columns:minmax(210px,235px) minmax(0,1fr);gap:20px}.mbac-finder__cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}}

/* Desktop toolbar; mobile is explicitly independent below. */
.mbac-finder__toolbar-primary{order:0}
.mbac-finder__search-wrap{order:1;position:relative;min-width:0}
.mbac-finder__search-wrap>summary{list-style:none}
.mbac-finder__search-wrap>summary::-webkit-details-marker{display:none}
.mbac-finder__search-wrap:not([open])>.mbac-finder__search-control{display:none}
.mbac-finder__search-control{position:absolute;z-index:10;left:calc(100% + 8px);top:0}
.mbac-finder__mobile-filter{order:2}
.mbac-finder__sort-label{order:4;margin-left:auto}
.mbac-finder__clear{order:3}
.mbac-finder__sort-icon,.mbac-finder__clear-icon{display:none}
.mbac-finder__filter-text{display:inline}
.mbac-finder__parent-row>.mbac-finder__branch{grid-column:1;grid-row:1}
.mbac-finder__parent-row>.mbac-finder__option{grid-column:2;grid-row:1}
.mbac-finder .mbac-finder__branch>summary.mbac-finder__expand{display:grid!important;place-items:center!important;width:18px!important;height:28px!important;min-width:18px!important;min-height:28px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;padding:0!important;margin:0!important;color:var(--mbf-gold)!important;font-size:17px!important;line-height:1!important;cursor:pointer!important;list-style:none!important}
.mbac-finder .mbac-finder__branch>summary::-webkit-details-marker{display:none!important}
.mbac-finder__branch[open]>summary>span{font-size:0}
.mbac-finder__branch[open]>summary>span::after{content:'−';font-size:17px}
.mbac-finder__parent>.mbac-finder__children{display:none}
.mbac-finder__parent:has(.mbac-finder__branch[open])>.mbac-finder__children{display:block}

@media (max-width:760px){
  .mbac-finder:not(.mbac-finder--portal){width:100%!important;max-width:100%!important;margin:0!important;transform:none!important;padding:16px 12px 28px!important;overflow:visible!important}
  .mbac-finder__layout{display:block!important;width:100%!important;min-width:0!important}
  .mbac-finder__main{width:100%!important;min-width:0!important}
  .mbac-finder:not(.mbac-finder--portal) .mbac-finder__sidebar{display:none!important}
  /* One unchanging row of four icons; optional search; then results count. */
  .mbac-finder__toolbar{position:relative!important;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;grid-template-rows:42px auto!important;gap:10px 8px!important;align-items:center!important;justify-items:stretch!important;width:100%!important;max-width:100%!important;padding:0!important;margin:0 0 13px!important;min-width:0!important}
  .mbac-finder__toolbar:has(.mbac-finder__search-wrap[open]){grid-template-rows:42px 44px auto!important}
  .mbac-finder__toolbar-primary{grid-column:1/-1!important;grid-row:2!important;min-width:0!important;display:block!important;margin:0!important;padding:1px 0 0!important}
  .mbac-finder__toolbar:has(.mbac-finder__search-wrap[open]) .mbac-finder__toolbar-primary{grid-row:3!important}
  .mbac-finder__count{font-size:14px!important;font-weight:800!important;white-space:normal!important}
  .mbac-finder .mbac-finder__search-wrap{grid-column:1!important;grid-row:1!important;display:block!important;position:static!important;width:100%!important;min-width:0!important;height:42px!important;padding:0!important;margin:0!important;z-index:auto!important}
  .mbac-finder .mbac-finder__search-wrap>summary.mbac-finder__search-toggle,
  .mbac-finder .mbac-finder__mobile-filter,
  .mbac-finder .mbac-finder__sort-label,
  .mbac-finder .mbac-finder__clear{width:100%!important;height:42px!important;min-width:0!important;max-width:100%!important;min-height:42px!important;max-height:42px!important;display:flex!important;align-items:center!important;justify-content:center!important;position:relative!important;box-sizing:border-box!important;padding:0!important;margin:0!important;border:1px solid #594650!important;border-radius:7px!important;background:#2c222b!important;color:#f4d261!important;box-shadow:none!important;transform:none!important;line-height:1!important}
  .mbac-finder .mbac-finder__mobile-filter{grid-column:3!important;grid-row:1!important;cursor:pointer!important}
  .mbac-finder .mbac-finder__sort-label{grid-column:2!important;grid-row:1!important;overflow:hidden!important}
  .mbac-finder .mbac-finder__sort-label::after{display:none!important;content:none!important}
  .mbac-finder .mbac-finder__clear{grid-column:4!important;grid-row:1!important;cursor:pointer!important}
  .mbac-finder__sort-caption,.mbac-finder__filter-text,.mbac-finder__clear>span:not(.screen-reader-text){display:none!important}
  .mbac-finder .mbac-finder__sort-icon,.mbac-finder .mbac-finder__clear-icon{display:block!important;flex:none!important;pointer-events:none!important;color:#f4d261!important}
  .mbac-finder .mbac-finder__sort{position:absolute!important;inset:0!important;display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;height:100%!important;margin:0!important;padding:0!important;appearance:none!important;-webkit-appearance:none!important;opacity:0!important;cursor:pointer!important;border:0!important}
  .mbac-finder .mbac-finder__clear:disabled{opacity:.38!important;pointer-events:none!important}
  .mbac-finder__selected-num{position:absolute!important;right:2px!important;top:2px!important;color:#171217!important;background:var(--mbf-gold)!important;border-radius:12px!important;font-size:10px!important;line-height:13px!important;padding:0 3px!important}
  .mbac-finder__selected-num:empty{display:none!important}
  .mbac-finder .mbac-finder__search-wrap>.mbac-finder__search-control{position:absolute!important;display:flex!important;left:0!important;right:0!important;top:52px!important;width:100%!important;max-width:100%!important;height:44px!important;margin:0!important;padding:0!important;border:1px solid #725b66!important;border-radius:7px!important;background:#2c222b!important;box-shadow:none!important;overflow:hidden!important;z-index:4!important}
  .mbac-finder .mbac-finder__search-wrap:not([open])>.mbac-finder__search-control{display:none!important}
  .mbac-finder__search-label{display:block!important;min-width:0!important;flex:1 1 auto!important;height:42px!important}
  .mbac-finder .mbac-finder__search{display:block!important;width:100%!important;height:42px!important;margin:0!important;padding:0 11px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;outline:0!important;font-size:16px!important;line-height:42px!important}
  .mbac-finder .mbac-finder__search-close{display:flex!important;flex:0 0 42px!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;min-height:42px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:23px!important;line-height:1!important}
  .mbac-finder__chips{gap:6px!important;margin:0 0 12px!important}
  .mbac-finder__cards{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:24px!important;width:100%!important;min-width:0!important;max-width:100%!important;align-items:start!important}
  /* Native Cloud Template card. Do not override its .beast-card, .card-chip,
     .vc_row_inner or .wpb_wrapper: the mobile rules belong to TagDiv. */
  .mbac-finder__tagdiv-card{min-width:0!important;max-width:100%!important;width:100%!important}
  .mbac-finder-body-locked{overflow:hidden!important}
  .mbac-finder--portal{position:fixed!important;inset:0!important;z-index:2147483000!important;width:100%!important;height:100dvh!important;margin:0!important;padding:0!important;max-width:none!important;transform:none!important;pointer-events:none!important;background:transparent!important}
  .mbac-finder--portal .mbac-finder__shade:not([hidden]){position:fixed!important;inset:var(--mbf-drawer-top,0px) 0 0 0!important;background:#151116!important;z-index:1!important;pointer-events:auto!important;display:block!important;border:0!important}
  .mbac-finder--portal .mbac-finder__sidebar{position:fixed!important;display:grid!important;grid-template-rows:58px minmax(0,1fr)!important;grid-template-columns:minmax(0,1fr)!important;top:var(--mbf-drawer-top,0px)!important;left:0!important;right:0!important;bottom:0!important;width:100%!important;max-height:none!important;height:calc(100dvh - var(--mbf-drawer-top,0px))!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;overflow:hidden!important;transform:none!important;pointer-events:auto!important;z-index:2!important;background:var(--mbf-panel)!important}
  .mbac-finder--portal .mbac-finder__sidebar-head{grid-column:1!important;grid-row:1!important;position:relative!important;display:flex!important;height:58px!important;min-height:58px!important;align-items:center!important;justify-content:space-between!important;padding:0 18px!important;margin:0!important;background:#211a20!important;border-bottom:1px solid #50424a!important}
  .mbac-finder--portal .mbac-finder__sidebar-head h3{margin:0!important;color:#fff!important;font-size:20px!important}
  .mbac-finder--portal .mbac-finder__close{display:flex!important;align-items:center!important;justify-content:center!important;width:40px!important;height:40px!important;min-width:40px!important;min-height:40px!important;padding:0!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;color:#fff!important;font-size:28px!important}
  .mbac-finder--portal .mbac-finder__facets{grid-column:1!important;grid-row:2!important;min-height:0!important;padding:8px 18px 100px!important;margin:0!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .mbac-finder--portal .mbac-finder__facet{padding:0 0 1px!important}
  .mbac-finder--portal .mbac-finder__facet>summary{padding:14px 0!important;font-size:15px!important;font-weight:750!important}
  .mbac-finder--portal .mbac-finder__options{gap:1px!important}
  .mbac-finder--portal .mbac-finder__parent-row{display:grid!important;grid-template-columns:22px minmax(0,1fr)!important;gap:6px!important;align-items:center!important;min-height:37px!important}
  .mbac-finder--portal .mbac-finder__parent-row>.mbac-finder__branch{grid-column:1!important;grid-row:1!important;display:block!important;width:22px!important;height:32px!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
  .mbac-finder--portal .mbac-finder__branch>summary.mbac-finder__expand{width:22px!important;height:32px!important;min-width:22px!important;min-height:32px!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;margin:0!important;padding:0!important;font-size:17px!important;color:var(--mbf-gold)!important}
  .mbac-finder--portal .mbac-finder__parent-row>.mbac-finder__option{grid-column:2!important;grid-row:1!important;font-weight:600!important}
  .mbac-finder--portal .mbac-finder__option{min-width:0!important;min-height:35px!important;padding:4px 0!important;font-size:13px!important;gap:9px!important}
  .mbac-finder--portal .mbac-finder__option--child{font-size:12px!important;min-height:32px!important;font-weight:400!important}
  .mbac-finder--portal .mbac-finder__option-name{min-width:0!important;flex:1 1 auto!important}
  .mbac-finder--portal .mbac-finder__option-count{flex:none!important;text-align:right!important;min-width:25px!important}
  .mbac-finder--portal .mbac-finder__option input[type=checkbox]{flex:none!important;width:16px!important;height:16px!important}
  .mbac-finder--portal .mbac-finder__children{margin:2px 0 7px 12px!important;padding:3px 0 3px 20px!important;border-left:1px solid #75616a!important}
  .mbac-finder--portal .mbac-finder__mobile-apply{grid-column:1!important;grid-row:auto!important;position:fixed!important;left:0!important;right:0!important;bottom:0!important;display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;height:48px!important;min-height:48px!important;max-height:48px!important;margin:0!important;padding:0 12px!important;border:0!important;border-radius:0!important;background:var(--mbf-gold)!important;box-shadow:0 -5px 16px rgba(0,0,0,.35)!important;color:#171217!important;font-size:19px!important;font-weight:800!important;line-height:1.2!important;z-index:3!important}
  .mbac-finder--portal .mbac-finder__mobile-apply-label{display:inline-block!important;white-space:nowrap!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important}
}
