
/* v2.63: Farm Stand Listings and Last Chance in rows (canvas F2/F3): picture, name/species/time, colour + pattern swatches, button. "Your stand" strip with List a bird. */
.fsstand{display:flex;flex-direction:column;gap:6px}
.fsh{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.fsh b{font-family:var(--display);font-size:16px}
.fsstrip{display:flex;gap:6px;overflow-x:auto;padding-bottom:2px;scrollbar-width:none}.fsstrip::-webkit-scrollbar{display:none}
.fsadd{flex:none;width:100px;min-height:128px;border:2px dashed var(--accent);border-radius:12px;background:var(--surface);color:var(--ink);font:inherit;font-size:13px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;cursor:pointer;line-height:1.15}
.fsadd span{font-size:26px;line-height:1;color:var(--accent)}.fsadd:disabled{opacity:.5;cursor:not-allowed}
.fssc{flex:none;width:100px;box-sizing:border-box;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:5px;display:flex;flex-direction:column;gap:2px;cursor:pointer}
.fsscpic{height:72px;border-radius:8px;background:var(--surface-2);display:flex;align-items:center;justify-content:center;overflow:hidden}.fsscpic>*{height:100%!important;width:100%!important;max-width:100%;display:flex!important;align-items:center;justify-content:center;margin:0!important}
/* v2.89: the whole bird fits inside the Your stand card (it was cropped at the top and bottom) */
.fsscpic img,.fsscpic svg,.fsscpic canvas{max-height:100%!important;max-width:100%!important;height:100%!important;width:auto!important;object-fit:contain!important;margin:0!important}
.fssc b{font-size:12px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fssc small{font-size:11px;color:var(--muted);display:flex;align-items:center;gap:3px}
.fstake{all:unset;box-sizing:border-box;text-align:center;font-family:var(--body);font-size:11px;font-weight:800;color:var(--ink);border:1px solid var(--line);border-radius:999px;padding:3px 6px;margin-top:2px;cursor:pointer}
.fscoin{display:inline-block;width:12px;height:12px;border-radius:50%;background:#F3C64B;border:1.5px solid #A87900;box-sizing:border-box;flex:none}
.fslist{display:flex;flex-direction:column;gap:8px}
.fslist>.fsrow{display:flex!important;flex-direction:row!important;align-items:center!important;gap:10px!important;padding:6px 8px 6px 6px!important;border-radius:14px!important;width:auto!important;min-height:0!important;margin:0!important;text-align:left!important}
.fsrow>*{margin:0!important}
.fspic{width:72px;height:72px;flex:none;border-radius:10px;background:var(--surface-2);overflow:hidden;display:flex;align-items:center;justify-content:center}
.fspic>svg,.fspic>img{width:100%!important;height:100%!important;max-width:none}
.fsmid{flex:1;min-width:0;display:flex;flex-direction:column;gap:2px}
.fsnm{font-family:var(--display);font-size:16px;line-height:1.1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fsnm.hen{color:var(--hen)}.fsnm.rooster{color:var(--roo)}
.fsmeta{font-size:12px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.fstime{display:inline-block;font-size:11px;font-weight:800;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:1px 8px;background:var(--surface);white-space:nowrap}.fstime.soon{color:var(--bad)}
.fssw{flex:none;display:grid;grid-template-columns:repeat(3,16px);gap:4px}
.fssw>span{width:16px;height:16px;display:block;overflow:hidden}
.fssw>.fsc>*{width:16px!important;height:16px!important;min-width:0!important;border-radius:50%!important;display:block!important;margin:0!important;box-sizing:border-box}
.fssw>.fsp>*{width:16px!important;height:16px!important;min-width:0!important;border-radius:4px!important;display:block!important;margin:0!important;box-sizing:border-box}
.fsbtn{flex:none;width:80px;display:flex;flex-direction:column;align-items:stretch;gap:2px;font-size:11px;text-align:center}
.fsbuy{all:unset;box-sizing:border-box;min-height:44px;padding:2px 4px;border-radius:10px;background:var(--accent);color:#fff;font-family:var(--body);font-size:14px;font-weight:800;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;line-height:1.1;text-align:center;cursor:pointer}
.fsbuy>span{display:flex;align-items:center;gap:4px}
.fsbuy.adopt{background:var(--good);font-size:13px}
.fsbuy:disabled{background:var(--surface-2);color:var(--muted);cursor:not-allowed;font-size:12px}
.fsbuy:focus-visible,.fsadd:focus-visible,.fstake:focus-visible{outline:3px solid var(--r-rare);outline-offset:2px}
.fsmine{display:block;font-size:11px;font-weight:800;background:var(--ink);color:var(--surface);border-radius:999px;padding:4px 4px;text-align:center}
.fsnote{display:flex;gap:10px;align-items:center;font-size:13px;line-height:1.3;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:10px 12px}
.fsnote svg{flex:none;color:var(--accent)}
/* v2.66: the quest picker button kept its light cream background in the dark themes, so its text was unreadable */
:root[data-fwtheme] .qpickbtn{background:var(--surface-2)!important;border-color:var(--accent)!important;color:var(--ink)!important}
:root[data-fwtheme] .qpickbtn b{color:var(--ink)!important}
:root[data-fwtheme] .qpickbtn .label,:root[data-fwtheme] .qpickbtn small{color:var(--muted)!important}
:root[data-fwtheme] .qpickbtn:hover{background:color-mix(in srgb,var(--surface-2) 85%,#fff)!important}
/* v2.66: every page gets room at the bottom so the last button can scroll above the menu egg */
#view{padding-bottom:calc(110px + env(safe-area-inset-bottom,0px))}
