#quests-search {padding-bottom: 2.5em;}
#quests-search > div {margin-top: 0.8em;}
#quests-search > div:first-child {margin-top: 0;}
#quests-search input[name="q"] {width: 40em;}
#quests-search input[type="number"] {width: 3em;}
#quests-search .radio span {margin-left: 1em;}
#quests-search .radio span:first-child {margin-left: 0;}
#quests-search .label {margin-right: 1em;}

h3 + #qs-results {padding-top: 1em;}
#qs-results .quest {margin-top: 2.5em;}
#qs-results .quest:first-child {margin-top: 0;}

/* Переключатель типа сервера (blocks/world_type_switch) повторяет вид модерн-компонента .link-selector. */
.world-type-switch {margin-bottom: 1.5em;}
.world-type-switch ul {display: flex; flex-wrap: wrap; gap: 4px; padding: 0; margin: 0;}
.world-type-switch li {list-style-type: none; padding: 0; margin: 0;}
.world-type-switch li > a, .world-type-switch li > span {display: inline-block; padding: 4px 8px; border-radius: 4px; text-decoration: none;}
.world-type-switch li > a:hover {background-color: #f0f0f0;}
.world-type-switch li > span {background-color: #f5f5f5; color: #000;}

.quest-page {font-family: verdana, sans-serif; line-height: 160%;}
.quest-world-type {margin-bottom: 0.9em; color: #777;}

div.quest-head {margin-top: 1.3em;}
div.step-head {margin-bottom: 1em;}
img.item-icon {vertical-align: middle; width: 24px; height: 24px; margin: 1px; margin-right: 0.3em;}
.quest-items img.item-icon {margin-right: 0.5em;}
.content-quests table.quest-items {padding: 0; margin: 0; border: 0; border-collapse: collapse;}
.content-quests table.quest-items td {border: 0; padding: 0; padding-top: 5px; margin: 0; vertical-align: middle;}
.content-quests table.quest-items td.count {padding-left: 2em; font-size: 1.1em; color: #333; text-align: right;}
.content-quests table.quest-items tr.first-item td {padding-top: 0;}
ul.quest-children {padding: 0; margin: 0;}
ul.quest-children li {list-style-type: none;}
