.catalog-results-bar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:20px 0 14px}
.catalog-results-bar p{margin:0}
.catalog-results>.catalog-source-empty{grid-column:1/-1;min-width:0}.catalog-source-empty p{max-width:65ch}
.catalog-view-switch{display:inline-flex;gap:3px;padding:3px;border:1px solid #b79c6d;background:#e8dcc4}
.catalog-view-switch button{min-width:75px;min-height:38px;padding:7px 12px;border:0;background:transparent;color:#4d3b37;cursor:pointer;font:600 13px system-ui,sans-serif}
.catalog-view-switch button[aria-pressed=true]{background:#53363c;color:#fff8ec;box-shadow:0 2px 5px #3a252638}
.catalog-results.catalog-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:15px;align-items:start}
.catalog-results.catalog-list{display:flex;flex-direction:column;gap:0}
.catalog-results .catalog-entry{min-width:0;margin:0;border:1px solid #b9a373;background:#fffaf0;box-shadow:0 3px 10px #392c2014}
.catalog-results .catalog-entry[open]{grid-column:auto}
.catalog-results .catalog-entry>summary{list-style:none;cursor:pointer;display:grid;gap:11px;min-width:0;color:#3d3036}
.catalog-results .catalog-entry>summary::-webkit-details-marker{display:none}
.catalog-results .catalog-entry>summary:focus-visible{outline:3px solid #815044;outline-offset:-3px}
.catalog-results .catalog-entry-teaser{display:flex;flex-direction:column;gap:5px;min-width:0}
.catalog-results .catalog-entry-teaser small{text-transform:uppercase;letter-spacing:.08em;color:#835f43;font-size:11px}
.catalog-results .catalog-entry-teaser strong{font:24px Georgia,serif;line-height:1.13;overflow-wrap:anywhere}
.catalog-results .catalog-entry-description{font-size:13px;line-height:1.45;color:#5d5350;overflow-wrap:anywhere}
.catalog-results .catalog-entry-meta{align-self:start;justify-self:start;padding:5px 9px;background:#e6d3ac;color:#553c2c;font-size:12px;font-weight:700;white-space:normal}
.catalog-results .catalog-entry-action{font-size:12px;color:#785746;white-space:nowrap}
.catalog-results .catalog-thumbnail{display:block;width:100%;height:100%;object-fit:contain}
.catalog-results .catalog-art-placeholder{display:grid;place-items:center;color:#a28758;background:radial-gradient(circle,#efe1c6,#e1cfab);font:52px Georgia,serif}
.catalog-results.catalog-cards .catalog-entry>summary{padding:14px;grid-template-columns:1fr;min-height:300px}
.catalog-results.catalog-cards .catalog-entry-art{height:148px;width:100%;background:radial-gradient(circle,#fbf6e9,#ecdfc6)}
.catalog-results.catalog-cards .catalog-entry-teaser{min-height:80px}
.catalog-results.catalog-cards .catalog-entry-meta{margin-top:auto}
.catalog-results.catalog-cards .catalog-entry-action{justify-self:end}
.catalog-results.catalog-list .catalog-entry{border-width:0 0 1px;box-shadow:none;background:transparent}
.catalog-results.catalog-list .catalog-entry>summary{grid-template-columns:76px minmax(0,1fr) auto auto;align-items:center;padding:11px 8px;min-height:92px}
.catalog-results.catalog-list .catalog-entry-art{width:76px;height:70px;background:#f0e5cf}
.catalog-results.catalog-list .catalog-entry-teaser strong{font-size:20px}
.catalog-results .catalog-entry>summary:hover{background:#f4e8d3}
.catalog-results .catalog-entry-detail{padding:0 20px 22px;min-width:0}
.catalog-results .catalog-entry-detail>p{line-height:1.55}
.catalog-results .catalog-entry>.catalog-portrait{max-height:250px}
@media(max-width:700px){.catalog-results.catalog-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.catalog-results.catalog-cards .catalog-entry>summary{padding:10px;min-height:282px}.catalog-results.catalog-cards .catalog-entry-art{height:115px}.catalog-results .catalog-entry-teaser strong{font-size:19px}.catalog-results.catalog-list .catalog-entry>summary{grid-template-columns:64px minmax(0,1fr) auto;gap:9px}.catalog-results.catalog-list .catalog-entry-art{width:64px;height:60px}.catalog-results.catalog-list .catalog-entry-action{display:none}.catalog-results.catalog-list .catalog-entry-description{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}}
@media(max-width:450px){.catalog-results.catalog-cards{grid-template-columns:1fr}.catalog-results.catalog-cards .catalog-entry>summary{min-height:0}.catalog-results.catalog-cards .catalog-entry-art{height:165px}.catalog-results.catalog-list .catalog-entry>summary{grid-template-columns:58px minmax(0,1fr)}.catalog-results.catalog-list .catalog-entry-art{width:58px;height:58px}.catalog-results.catalog-list .catalog-entry-meta{grid-column:2}.catalog-results .catalog-entry-detail{padding:0 10px 16px}}

.catalog-advanced{margin:8px 0}.catalog-advanced summary{cursor:pointer;padding:8px 0;font-weight:600}.catalog-entry-detail{overflow-wrap:anywhere;min-width:0}.catalog-entry-detail .catalog-stat-table{table-layout:fixed}.catalog-entry-detail .catalog-stat-table th,.catalog-entry-detail .catalog-stat-table td{overflow-wrap:anywhere}.catalog-entry-detail select{max-width:100%}

.catalog-filters{grid-template-columns:2fr 1fr 1.5fr 1fr 1fr;gap:12px}.catalog-filters .field{margin-bottom:8px}.catalog-advanced .catalog-filters{grid-template-columns:1fr 1fr 2fr}@media(max-width:900px){.catalog-filters{grid-template-columns:1fr 1fr}}@media(max-width:500px){.catalog-filters{grid-template-columns:1fr}.catalog-advanced .catalog-filters{grid-template-columns:1fr 1fr}.catalog-advanced .field:last-child{grid-column:1/-1}}

@media(max-width:500px){.catalog-panel{padding:16px}.catalog-panel>.catalog-filters{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.catalog-panel>.catalog-filters>.field:first-child,.catalog-panel>.catalog-filters>.field:nth-child(3){grid-column:1/-1}.catalog-panel>.catalog-filters>.field:nth-child(3){order:3}.catalog-panel .field{margin:0;gap:5px}.catalog-results-bar{margin:12px 0}.library-navigation{gap:6px}.library-navigation .button{font-size:12px;padding:9px}}

.catalog-entry-detail .catalog-stat-table th[scope=row]{width:44%;overflow-wrap:normal}.catalog-entry-detail .catalog-stat-table th,.catalog-entry-detail .catalog-stat-table td{padding:6px}

@media(min-width:901px){.catalog-filters.catalog-filters-second{grid-template-columns:2fr 1fr 1fr 1fr}}

.catalog-category-heading{grid-column:1/-1;min-width:0;margin:12px 0 0;padding:8px 0;border-bottom:1px solid #b9a373;color:#53363c;font:22px Georgia,serif;overflow-wrap:anywhere}
#catalog-results.catalog-grouped{display:block}
.catalog-result-group{min-width:0;margin-bottom:20px}
.catalog-category-heading{margin-bottom:14px;padding:0}
.catalog-category-heading>button{display:flex;align-items:center;gap:10px;width:100%;min-height:44px;border:0;padding:8px 0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;overflow-wrap:anywhere}
.catalog-category-heading>button:focus-visible{outline:3px solid #815044;outline-offset:3px}
.catalog-group-chevron{flex:none;transition:transform .15s}
.catalog-category-heading>button[aria-expanded=false] .catalog-group-chevron{transform:rotate(-90deg)}
#catalog-results .catalog-group-entries[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.catalog-group-chevron{transition:none}}

.card-result-control{display:inline-flex;flex-direction:row;align-items:center;gap:8px;margin:0 0 12px;width:auto}
.catalog-results-bar .card-result-control{margin:0}
.card-result-control select{width:auto;min-width:72px}

.creature-catalog-grid.creature-catalog-grouped{display:block}.creature-catalog-group{margin:20px 0}.creature-catalog .creature-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),1fr))}.creature-catalog-filters input,.creature-catalog-filters select{min-width:0;width:100%}
