/* Guild quests (#quests): quest cards and the quest editor, on top of the item-system styles. */
.quests-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}
.quests-page .quest-card{grid-template-columns:72px minmax(0,1fr)}
.quests-page .quest-card.is-invalid{border-color:#e3b3a3}
.quest-art{width:72px;height:72px;border-radius:12px}
.quest-pile{display:flex;align-items:center;justify-content:center}
.quest-pile img{width:38px;height:38px;object-fit:contain;margin:0 -7px;filter:drop-shadow(0 2px 2px #1a2a1f40)}
.quest-pile img:nth-child(2){transform:translateY(-5px) scale(1.1);z-index:1}
.quest-mark{font-size:26px;color:#c9a55a}
.item-chip-once{background:#efe0c6;color:#735738}.item-chip-daily{background:#e3ebf3;color:#35587a}
.item-chip-inactive{background:#f6d9cf;color:#9a3f2b}.item-chip-invalid{background:#fdece6;color:#9a3f2b;border:1px solid #e3b3a3}
.quests-costs .items-bonus{grid-template-columns:minmax(0,1.6fr) minmax(150px,1fr) auto}
.quests-repeat{grid-template-columns:repeat(2,1fr)}
.quests-page .items-thumb .quests-no-image{font-size:10.5px;font-weight:700;line-height:1.2;text-align:center;color:#8c7b6b}
.quests-preview{grid-template-columns:72px minmax(0,1fr)}
.quests-preview .quest-art{width:72px;height:72px}
.quests-preview small{display:block}
/* Item 26: the kind picker, hunt targets with species pictures, the place row, the central settings panel. */
.quests-kinds{grid-template-columns:repeat(3,1fr)}
.quests-kind-chip{background:#fbf0d5;color:#7a4f12}.quests-kind-hunt{background:#f6e3c8;color:#8a4a12}.quests-kind-reach{background:#e3ebf3;color:#35587a}
.quests-species-art{display:inline-grid;place-items:center;width:40px;height:40px;flex:none;border-radius:10px;background:#f3e6c8;overflow:hidden}
.quests-species-art canvas{width:100%;height:100%}
.quest-art>.quests-species-art{width:64px;height:64px;background:none}
.quests-targets .items-bonus{grid-template-columns:40px minmax(0,1.4fr) minmax(150px,1fr) auto;align-items:center}
.quests-place{grid-template-columns:repeat(4,minmax(0,1fr))}
.quests-goal[hidden]{display:none}
.quests-settings{display:grid;gap:10px;margin-bottom:14px}
.quests-settings h3{margin:0}
.quests-settings-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.quests-settings #quests-settings-save{justify-self:start}
/* Item 33: the drop-only switch, where each item comes from, shop warnings and the card badges. */
.quests-source{grid-template-columns:repeat(2,1fr)}
.quests-drop-chip{background:#e6f4e4;color:#2f6b45}
.quests-cost-source{display:grid;gap:3px;margin:-4px 0 6px;padding:0 4px;font-size:12px;line-height:1.35}
.quests-cost-source small{display:block;overflow-wrap:anywhere}
.quests-source-drops{color:#2f6b45}
.quests-source-none{color:#8c7b6b}.quests-source-none.is-bad{color:#9a3f2b;font-weight:700}
.quests-source-shop{color:#a35a0c;background:#fff1dc;border:1px solid #f0c98e;border-radius:8px;padding:4px 8px}
.quests-source-shop a{color:inherit;font-weight:700}
.quests-source-warning{color:#9a3f2b;font-weight:700}.quests-source-warning[hidden]{display:none}
.quests-no-drops a{font-weight:700}
.quests-preview .quests-preview-source{color:#2f6b45}
@media(max-width:600px){.quests-source{grid-template-columns:1fr}}
@media(max-width:600px){.quests-grid{grid-template-columns:1fr}.quests-costs .items-bonus{grid-template-columns:minmax(0,1fr) auto}.quests-costs .items-bonus select{grid-column:1/-1}
 .quests-targets .items-bonus{grid-template-columns:40px minmax(0,1fr) auto}.quests-targets .items-bonus .items-stepper{grid-column:1/-1}
 .quests-place,.quests-settings-row,.quests-kinds{grid-template-columns:1fr 1fr}}
